about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2013-01-10 02:07:55 +0100
committeraszlig <aszlig@redmoonstudios.org>2013-01-10 02:07:55 +0100
commite027020f01fdf84b0855720b425847d5680579de (patch)
tree5854c1c62debaca2f905edc2d19f92cab7eadfda /machines
parente6d4a62c2b387ca8f3ad86925d053935d0a38675 (diff)
mmrnmhrm: Use the new xrandrHeads option for xorg.
Just committed the new multi head option upstream at NixOS/nixos@0129717.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'machines')
-rw-r--r--machines/mmrnmhrm.nix16
1 files changed, 1 insertions, 15 deletions
diff --git a/machines/mmrnmhrm.nix b/machines/mmrnmhrm.nix
index 61600ef7..ad875fd3 100644
--- a/machines/mmrnmhrm.nix
+++ b/machines/mmrnmhrm.nix
@@ -54,21 +54,7 @@ with pkgs.lib;
   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
-    '';
+    xrandrHeads = [ "DVI-I-2" "DVI-I-1" ];
 
     displayManager.sessionCommands = ''
       ${pkgs.synergy}/bin/synergys -c "${../cfgfiles/synergy.conf}"