From 8ac7378ebad225710b4774bd699a5cd443931e1e Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Sun, 22 Oct 2023 19:21:36 -0700 Subject: [PATCH] added default window offsets --- hosts/desktop/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/hosts/desktop/default.nix b/hosts/desktop/default.nix index 26d45c8..c98fe79 100644 --- a/hosts/desktop/default.nix +++ b/hosts/desktop/default.nix @@ -33,7 +33,14 @@ systemd.services.sshd.wantedBy = [ "multi-user.target" ]; - services.xserver.videoDrivers = [ "nvidia" ]; + services.xserver = { + videoDrivers = [ "nvidia" ]; + # xrandr for screen information. : , + # Option "nvidiaXineramaInfoOrder" "DFP-0" + screenSection = '' + Option "metamodes" "DP-2: 2560x1440 +1920+0, DP-4: 1920x1080 +0+360" + ''; + }; hardware.opengl.enable = true; # Optionally, you may need to select the appropriate driver version for your specific GPU.