From e027020f01fdf84b0855720b425847d5680579de Mon Sep 17 00:00:00 2001 From: aszlig Date: Thu, 10 Jan 2013 02:07:55 +0100 Subject: mmrnmhrm: Use the new xrandrHeads option for xorg. Just committed the new multi head option upstream at NixOS/nixos@0129717. Signed-off-by: aszlig --- machines/mmrnmhrm.nix | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'machines/mmrnmhrm.nix') 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}" -- cgit 1.4.1