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

View File

@@ -163,7 +163,7 @@
config.homeconfig = { config.homeconfig = {
host = "homebox"; host = "homebox";
minimal = false; minimal = false;
wayvnc.enable = true; wayvnc.enable = false;
hyprland.enable = true; hyprland.enable = true;
swaylock.enable = true; swaylock.enable = true;
wal.enable = true; wal.enable = true;
@@ -173,6 +173,10 @@
rofi.enable = true; rofi.enable = true;
firefox.enable = true; firefox.enable = true;
}; };
home.packages = [
pkgs.wayvnc
];
} }
]; ];
}; };