nixos/home/J0162/elitherl.nix

40 lines
1,012 B
Nix
Raw Normal View History

2023-05-17 17:10:18 +01:00
{...}: {
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".text = ''
preload = /etc/nixos/config/wallpaper/images_dark/1920x1080.png
wallpaper = ,/etc/nixos/config/wallpaper/images_dark/1920x1080.png
'';
wayland.windowManager.hyprland.extraConfig = ''
source=./common.conf
'';
programs.waybar = {
settings = {
main = {
"include" = [
"~/.config/waybar/modules.json"
"~/.config/waybar/layout.json"
];
"modules-left" = ["wlr/workspaces"];
"modules-center" = ["clock"];
"modules-right" = [
"cpu"
"memory"
"temperature"
"pulseaudio"
"network"
"bluetooth"
"backlight"
"battery"
"battery#bat2"
"tray"
];
};
};
};
}