nixos/home/desktop/waybar.nix

42 lines
781 B
Nix

{
pkgs,
lib,
...
}: {
home.packages = with pkgs; [
(nerdfonts.override {fonts = ["FiraCode"];})
networkmanagerapplet
bluez
];
xdg.configFile."waybar" = {
source = ./config/waybar;
recursive = true;
};
programs.waybar = {
enable = true;
settings.main = {
"include" = [
"~/.config/waybar/modules.json"
"~/.config/waybar/layout.json"
];
"modules-left" = lib.mkDefault [
"clock"
"cpu"
"memory"
"temperature"
];
"modules-center" = lib.mkDefault [
"wlr/workspaces"
];
"modules-right" = lib.mkDefault [
"pulseaudio"
"bluetooth"
"network#compact"
"backlight"
"battery"
"tray"
];
};
};
}