nixos/home/desktop/waybar.nix

37 lines
749 B
Nix
Raw Normal View History

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