summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vali.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/vali.nix b/vali.nix
index b2cd5d3f..fe88f401 100644
--- a/vali.nix
+++ b/vali.nix
@@ -88,11 +88,18 @@ rec {
88 displayManager.slim = { 88 displayManager.slim = {
89 enable = true; 89 enable = true;
90 defaultUser = "gkleen"; 90 defaultUser = "gkleen";
91 desktopManagerHandlesLidAndPower = false;
92 sessionCommands = ''
93 ${pkgs.xset}/bin/xset -dpms
94 ${pkgs.xset}/bin/xset s off
95 ${pkgs.xsetroot}/bin/xsetroot -mod 10 10 -bg black -fg '#222'
96 ${pkgs.autocutsel}/bin/autocutsel -selection CLIPBOARD -fork
97 ${pkgs.autocutsel}/bin/autocutsel -selection PRIMARY -fork
98 '';
91 }; 99 };
92 100
93 enable = true; 101 enable = true;
94 autorun = true; 102 autorun = true;
95 displayManager.desktopManagerHandlesLidAndPower = false;
96 103
97 layout = "us"; 104 layout = "us";
98 xkbVariant = "dvp"; 105 xkbVariant = "dvp";