summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vali.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/vali.nix b/vali.nix
index 8af5c1da..d854888f 100644
--- a/vali.nix
+++ b/vali.nix
@@ -88,6 +88,8 @@ rec {
88 in setupUsers (builtins.map toRec [ "gkleen" ]); 88 in setupUsers (builtins.map toRec [ "gkleen" ]);
89 89
90 services.xserver = { 90 services.xserver = {
91 xrandrHeads = [ "DP-4" "DP-2" "DP-0" ];
92
91 windowManager.xmonad = { 93 windowManager.xmonad = {
92 enable = true; 94 enable = true;
93 enableContribAndExtras = true; 95 enableContribAndExtras = true;
@@ -102,6 +104,7 @@ rec {
102 }; 104 };
103 desktopManagerHandlesLidAndPower = false; 105 desktopManagerHandlesLidAndPower = false;
104 sessionCommands = '' 106 sessionCommands = ''
107 ${pkgs.xrandr}/bin/xrandr --output DP-2 --primary --mode '2560x1440'
105 ${pkgs.xlibs.xset}/bin/xset -dpms 108 ${pkgs.xlibs.xset}/bin/xset -dpms
106 ${pkgs.xlibs.xset}/bin/xset s off 109 ${pkgs.xlibs.xset}/bin/xset s off
107 ${pkgs.xlibs.xsetroot}/bin/xsetroot -mod 10 10 -bg black -fg '#222' 110 ${pkgs.xlibs.xsetroot}/bin/xsetroot -mod 10 10 -bg black -fg '#222'