diff options
-rw-r--r-- | machines/mmrnmhrm.nix | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/machines/mmrnmhrm.nix b/machines/mmrnmhrm.nix index c4fb98ca..21bef953 100644 --- a/machines/mmrnmhrm.nix +++ b/machines/mmrnmhrm.nix @@ -51,5 +51,23 @@ with pkgs.lib; label = "swap"; }; - services.xserver.videoDrivers = [ "nouveau" ]; + services.xserver = { + videoDrivers = [ "nouveau" ]; + + deviceSection = '' + Option "monitor-DVI-I-2" "left monitor" + Option "monitor-DVI-I-1" "right monitor" + ''; + + extraXorgOptions = '' + Section "Monitor" + Identifier "left monitor" + EndSection + + Section "Monitor" + Identifier "right monitor" + Option "RightOf" "left monitor" + EndSection + ''; + }; } |