auto display?
This commit is contained in:
@@ -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;
|
||||
'';
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user