nixos/home/H0615/elitherl.nix
Evie Litherland-Smith fa6f1ce7db Add update hyprland config to H0615
Remove hyprland config files now that they've moved
2023-05-24 08:44:46 +01:00

51 lines
1.6 KiB
Nix

{...}: {
imports = [../work.nix ../desktop/hyprland.nix];
home.username = "elitherl";
home.homeDirectory = "/home/elitherl";
home.stateVersion = "22.11";
xdg.configFile."hypr/hyprpaper.conf".text = ''
preload = /etc/nixos/config/wallpaper/images_dark/1920x1080.png
preload = /etc/nixos/config/wallpaper/images_dark/1920x1200.png
preload = /etc/nixos/config/wallpaper/images_dark/1080x1920.png
wallpaper = HDMI-A-1,/etc/nixos/config/wallpaper/images_dark/1920x1200.png
wallpaper = DP-1,/etc/nixos/config/wallpaper/images_dark/1080x1920.png
wallpaper = ,/etc/nixos/config/wallpaper/images_dark/1920x1080.png
'';
wayland.windowManager.hyprland.extraConfig = ''
source=./common.conf
monitor=HDMI-A-1,preferred,auto,auto
monitor=DP-1,preferred,auto,auto,transform,1
wsbind=1,HDMI-A-1
wsbind=2,HDMI-A-1
wsbind=3,HDMI-A-1
wsbind=4,HDMI-A-1
exec-once = firefox
exec-once = teams
'';
programs.waybar = {
style = ''
@import 'common.css';
'';
settings = {
main = {
"include" = [
"~/.config/waybar/modules.json"
"~/.config/waybar/layout.json"
];
"output" = "HDMI-A-1";
"modules-left" = ["custom/launcher" "cpu" "memory" "temperature"];
"modules-center" = ["wlr/workspaces"];
"modules-right" = ["pulseaudio" "network" "backlight" "clock" "tray" "custom/power"];
};
alt = {
"output" = "DP-1";
"modules-left" = ["custom/launcher"];
"modules-center" = ["wlr/workspaces"];
"modules-right" = ["custom/power"];
};
};
};
}