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
|
|
|
|
];
|
2023-06-04 10:41:56 +01:00
|
|
|
xdg.configFile."waybar" = {
|
|
|
|
source = ./config/waybar;
|
|
|
|
recursive = true;
|
|
|
|
};
|
2023-06-18 10:40:57 +01:00
|
|
|
programs.waybar = {
|
|
|
|
enable = true;
|
2023-06-20 13:35:45 +01:00
|
|
|
settings.main = {
|
|
|
|
"include" = [
|
|
|
|
"~/.config/waybar/modules.json"
|
|
|
|
"~/.config/waybar/layout.json"
|
|
|
|
];
|
2023-06-21 08:23:48 +01:00
|
|
|
"modules-left" = lib.mkDefault [
|
2023-06-27 20:57:09 +01:00
|
|
|
"clock"
|
2023-06-20 13:35:45 +01:00
|
|
|
"cpu"
|
|
|
|
"memory"
|
|
|
|
"temperature"
|
|
|
|
];
|
2023-06-21 08:23:48 +01:00
|
|
|
"modules-center" = lib.mkDefault [
|
2023-06-27 20:57:09 +01:00
|
|
|
"wlr/workspaces"
|
2023-06-20 13:35:45 +01:00
|
|
|
];
|
2023-06-21 08:23:48 +01:00
|
|
|
"modules-right" = lib.mkDefault [
|
2023-06-20 13:35:45 +01:00
|
|
|
"pulseaudio"
|
|
|
|
"bluetooth"
|
|
|
|
"network#compact"
|
|
|
|
"backlight"
|
|
|
|
"battery"
|
|
|
|
"tray"
|
|
|
|
];
|
|
|
|
};
|
2023-06-18 10:40:57 +01:00
|
|
|
};
|
2023-05-16 09:11:39 +01:00
|
|
|
}
|