From 273cbda45c60b8089b57c47c9c02ba3b86fb8b17 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 5 Nov 2015 22:42:26 +0100 Subject: Display setup on vali --- vali.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vali.nix b/vali.nix index 8af5c1da..d854888f 100644 --- a/vali.nix +++ b/vali.nix @@ -88,6 +88,8 @@ rec { in setupUsers (builtins.map toRec [ "gkleen" ]); services.xserver = { + xrandrHeads = [ "DP-4" "DP-2" "DP-0" ]; + windowManager.xmonad = { enable = true; enableContribAndExtras = true; @@ -102,6 +104,7 @@ rec { }; desktopManagerHandlesLidAndPower = false; sessionCommands = '' + ${pkgs.xrandr}/bin/xrandr --output DP-2 --primary --mode '2560x1440' ${pkgs.xlibs.xset}/bin/xset -dpms ${pkgs.xlibs.xset}/bin/xset s off ${pkgs.xlibs.xsetroot}/bin/xsetroot -mod 10 10 -bg black -fg '#222' -- cgit v1.2.3