diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-11-05 22:42:26 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-11-05 22:42:26 +0100 |
commit | 273cbda45c60b8089b57c47c9c02ba3b86fb8b17 (patch) | |
tree | 8d923bfd55a52d1faa0b7b15e45113ec1b42fd53 | |
parent | 88ba7a930749d258324514b95c86a4f6d0d549d5 (diff) | |
download | nixos-273cbda45c60b8089b57c47c9c02ba3b86fb8b17.tar nixos-273cbda45c60b8089b57c47c9c02ba3b86fb8b17.tar.gz nixos-273cbda45c60b8089b57c47c9c02ba3b86fb8b17.tar.bz2 nixos-273cbda45c60b8089b57c47c9c02ba3b86fb8b17.tar.xz nixos-273cbda45c60b8089b57c47c9c02ba3b86fb8b17.zip |
Display setup on vali
-rw-r--r-- | vali.nix | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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' |