diff options
author | aszlig <aszlig@redmoonstudios.org> | 2013-01-09 22:34:19 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2013-01-09 22:34:19 +0100 |
commit | 8d4f7fd9b7f1fa36a48d1c6996015429b90b9edb (patch) | |
tree | 7c6aa45bcf4eb7f178705349772c5b6eaf079ad2 /machines | |
parent | 66156c101ae9c8267f155866f0e412b2a252f62d (diff) |
mmrnmhrm: Provide fixed default XRandR properties.
In my case this is just dual head for this machine. Synergy is not yet added to the NixOS configuration, but this is in preparation for it to work. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'machines')
-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 + ''; + }; } |