auto display?

This commit is contained in:
2025-08-12 09:47:48 -05:00
parent 2d56dcfd09
commit 7561c5207e
2 changed files with 60 additions and 52 deletions

View File

@@ -14,6 +14,7 @@
home.packages = with pkgs; [
pyprland
];
wayland.windowManager.hyprland = {
enable = true;
@@ -29,11 +30,14 @@
'' else if config.homeconfig.host == "homebox" then ''
monitor=HDMI-A-2,1920x1080@60,0x0,1
monitor=HEADLESS-2,1920x1080@60,0x0,1
exec-once=hyprctl output create headless HEADLESS-2
exec-once=hyprctl keyword monitor HDMI-A-2,disable
exec-once=kitty -e tmux new-session -s hypr
exec-once=${pkgs.wayvnc}/bin/wayvnc 0.0.0.0 -o HEADLESS-2
'' else '''';
in ''
in monitor + ''
source = /home/nathan/.config/hypr/main.conf
'' + monitor;
'';
};
};