47 lines
1.3 KiB
Nix
47 lines
1.3 KiB
Nix
{...}: {
|
|
imports = [../work.nix ../desktop/hyprland.nix];
|
|
home.username = "elitherl";
|
|
home.homeDirectory = "/home/elitherl";
|
|
home.stateVersion = "22.11";
|
|
|
|
programs.fish.shellAbbrs.hypr = "exec Hyprland";
|
|
xdg.configFile."hypr/hyprpaper.conf".source = ./hypr/hyprpaper.conf;
|
|
wayland.windowManager.hyprland.extraConfig = builtins.readFile ./hypr/hyprland.conf;
|
|
programs.waybar = {
|
|
settings = {
|
|
main = {
|
|
"include" = [
|
|
"~/.config/waybar/modules.json"
|
|
"~/.config/waybar/layout.json"
|
|
];
|
|
"output" = "HDMI-A-1";
|
|
"modules-left" = ["wlr/workspaces"];
|
|
"modules-center" = ["clock"];
|
|
"modules-right" = [
|
|
"cpu"
|
|
"memory"
|
|
"temperature"
|
|
"pulseaudio"
|
|
"network"
|
|
"backlight"
|
|
"battery"
|
|
"battery#bat2"
|
|
"tray"
|
|
];
|
|
"wlr/workspaces" = {"format-icons" = {"5" = "";};};
|
|
};
|
|
alt = {
|
|
"include" = [
|
|
"~/.config/waybar/modules.json"
|
|
"~/.config/waybar/layout.json"
|
|
];
|
|
"output" = "DP-1";
|
|
"modules-left" = [];
|
|
"modules-center" = ["wlr/workspaces"];
|
|
"modules-right" = [];
|
|
"wlr/workspaces" = {"format-icons" = {"5" = "";};};
|
|
};
|
|
};
|
|
};
|
|
}
|