37 lines
749 B
Nix
37 lines
749 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 [
|
|
"sway/workspaces"
|
|
"cpu"
|
|
"memory"
|
|
"temperature"
|
|
];
|
|
"modules-center" = lib.mkDefault [
|
|
"clock"
|
|
];
|
|
"modules-right" = lib.mkDefault [
|
|
"pulseaudio"
|
|
"bluetooth"
|
|
"network#compact"
|
|
"backlight"
|
|
"battery"
|
|
"tray"
|
|
];
|
|
};
|
|
};
|
|
}
|