nixos/home/desktop/waybar.nix

37 lines
702 B
Nix
Raw Normal View History

2023-05-17 17:10:18 +01:00
{pkgs, ...}: {
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" = [
"sway/workspaces"
"cpu"
"memory"
"temperature"
];
"modules-center" = [
"clock"
];
"modules-right" = [
"pulseaudio"
"bluetooth"
"network#compact"
"backlight"
"battery"
"tray"
];
};
};
2023-05-16 09:11:39 +01:00
}