desktop: configure vertical second monitor

This commit is contained in:
Elnu 2023-12-28 12:03:32 -08:00
parent a11f866037
commit 866782e474
2 changed files with 5 additions and 1 deletions

View file

@ -31,6 +31,8 @@ in
gnome.gnome-keyring.enable = true; # For remembering nextcloud login, among other things
gvfs.enable = true; # For Trash
};
programs.hyprland.enable = true;
programs.sway.enable = true;
xdg.portal.enable = true;

View file

@ -8,10 +8,12 @@
# nvidiaXineramaInfoOrder sets primary display
# DFP-0 is default and would set left monitor, DVI-D-0, to be primary
screenSection = ''
Option "metamodes" "DVI-D-0: 1920x1080 +0+0, HDMI-0: 1920x1080 +1920+0, DP-3: 1920x1080 +1920+0"
Option "metamodes" "DVI-D-0: 1920x1080 +0+0 {rotation=left}, HDMI-0: 1920x1080 +1080+420"
Option "nvidiaXineramaInfoOrder" "DFP-1"
'';
};
# https://www.sven.de/dpi/
services.xserver.dpi = 92;
services.blueman.enable = true;