hyprland system only

This commit is contained in:
2025-08-09 16:49:52 -05:00
parent 96e2fdaa79
commit 239da4b5cf
6 changed files with 236 additions and 23 deletions

View File

@@ -15,28 +15,16 @@
pyprland
];
wayland.windowManager.hyprland = {
enable = true;
systemd = {
enable = true;
variables = [ "--all" ];
};
extraConfig = let
monitor = if config.homeconfig.host == "laptop" then ''
monitor=eDP-1,1920x1080@60,0x0,1
'' else if config.homeconfig.host == "homebox" then ''
monitor=HDMI-A-2,1920x1080@60,0x0,1
monitor=HEADLESS-2,1920x1080@60,0x0,1
exec-once=kitty -e tmux new-session -s hypr
'' else '''';
in ''
source = /home/nathan/.config/hypr/main.conf
'' + monitor;
};
home.file.".config/hypr/hyprland.conf".text = let
monitor = if config.homeconfig.host == "laptop" then ''
monitor=eDP-1,1920x1080@60,0x0,1
'' else if config.homeconfig.host == "homebox" then ''
monitor=HDMI-A-2,1920x1080@60,0x0,1
monitor=HEADLESS-2,1920x1080@60,0x0,1
exec-once=kitty -e tmux new-session -s hypr
'' else '''';
in ''
source = /home/nathan/.config/hypr/main.conf
'' + monitor;
};
}