nixos/home/desktop/waybar.nix

41 lines
756 B
Nix
Raw Normal View History

2023-06-27 20:57:09 +01:00
{
pkgs,
lib,
...
}: {
2023-05-16 09:11:39 +01:00
home.packages = with pkgs; [
2023-05-17 17:10:18 +01:00
(nerdfonts.override {fonts = ["FiraCode"];})
2023-05-16 09:11:39 +01:00
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 [
2023-06-27 20:57:09 +01:00
"clock"
"cpu"
"memory"
"temperature"
];
"modules-center" = lib.mkDefault [
2023-06-27 20:57:09 +01:00
"wlr/workspaces"
];
"modules-right" = lib.mkDefault [
"pulseaudio"
"bluetooth"
"network#compact"
"backlight"
"battery"
"tray"
];
};
};
2023-05-16 09:11:39 +01:00
}