nixos/home/desktop/waybar.nix

41 lines
756 B
Nix

{
pkgs,
lib,
...
}: {
home.packages = with pkgs; [
(nerdfonts.override {fonts = ["FiraCode"];})
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"
];
};
};
}