about summary refs log tree commit diff
path: root/machines/dnyarri.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2013-02-07 06:32:40 +0100
committeraszlig <aszlig@redmoonstudios.org>2013-02-07 06:43:51 +0100
commit28652250e4519db8b82f9ed952156999b73357f6 (patch)
tree7e78ee89f0e2db672b7730345944b6c23137c2f9 /machines/dnyarri.nix
parent9bc668350f2498830e796f88522abf06633d020d (diff)
dnyarri: Catch up with mmrnmhrm's xserver config.
This should now bring the synergy and multi head config in sync, so both
machines blend into a seamless 4-monitor-system.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'machines/dnyarri.nix')
-rw-r--r--machines/dnyarri.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/machines/dnyarri.nix b/machines/dnyarri.nix
index 0c9f3bac..6da44406 100644
--- a/machines/dnyarri.nix
+++ b/machines/dnyarri.nix
@@ -104,5 +104,13 @@ with import ../lib;
     device = "/dev/shofixti/swap";
   };
 
-  services.xserver.videoDrivers = [ "ati" ];
+  services.xserver = {
+    videoDrivers = [ "ati" ];
+
+    xrandrHeads = [ "HDMI-0" "DVI-0" ];
+
+    displayManager.sessionCommands = ''
+      ${pkgs.synergy}/bin/synergyc mmrnmhrm
+    '';
+  };
 }