summaryrefslogtreecommitdiff
path: root/modules/desktop.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop.nix')
-rw-r--r--modules/desktop.nix21
1 files changed, 17 insertions, 4 deletions
diff --git a/modules/desktop.nix b/modules/desktop.nix
index fb153e7..ca26902 100644
--- a/modules/desktop.nix
+++ b/modules/desktop.nix
@@ -113,14 +113,27 @@
113 }; 113 };
114 }; 114 };
115 115
116 # to get startx and use amdgpu driver 116 displayManager = {
117 # WM in home-manager
118 xserver = {
119 enable = true; 117 enable = true;
118 ly.enable = true;
119 };
120
121 xserver = {
122 enable = false;
120 autorun = false; 123 autorun = false;
121 displayManager.startx.enable = true; 124 displayManager.setupCommands = ''
125 xinput set-prop "Logitech USB Receiver Mouse" "libinput Accel Profile Enabled" 0 1 0
126 xsetwacom set "Wacom One by Wacom S Pen stylus" MapToOutput 2304x1440+560+0
127
128 #xrandr --output HDMI-1 --mode 1920x1080 --left-of DP-1
129
130 xwallpaper --zoom ~/pics/wp/elite_milky_way_below2.png
131 '';
122 modules = [ pkgs.xf86_input_wacom ]; 132 modules = [ pkgs.xf86_input_wacom ];
123 wacom.enable = true; 133 wacom.enable = true;
134
135 # config managed separately
136 windowManager.stumpwm.enable = true;
124 }; 137 };
125 }; 138 };
126 139