Advertisement
Guest User

Untitled

a guest
Jan 11th, 2019
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.81 KB | None | 0 0
  1. 251 #Enable xserver and i3
  2. 252 xserver = {
  3. 253 enable = true;
  4. 254 autorun = true;
  5. 255 desktopManager = {
  6. 256 default = "none";
  7. 257 xfce = {
  8. 258 enable = true;
  9. 259 noDesktop = true;
  10. 260 thunarPlugins = with pkgs.xfce; [
  11. 261 thunar-archive-plugin
  12. 262 ];
  13. 263 };
  14. 264 };
  15. 265 windowManager.i3.enable = true;
  16. 266
  17. 267 # Autolock settings
  18. 268 xautolock = {
  19. 269 enable = true;
  20. 270 locker = "${pkgs.i3lock-fancy}/bin/i3lock-fancy";
  21. 271 time = 10;
  22. 272 extraOptions = [ "-corners -000" "-detectsleep" "-lockaftersleep -secure" ];
  23. 273 };
  24. 274
  25. 275 # Switch between GB ("God shave the Queen") and DE layout
  26. 276 layout = "gb,de";
  27. 277 xkbOptions = "grp:win_space_toggle";
  28. 278 exportConfiguration = true;
  29. 279
  30. 280 # Enable touchpad support.
  31. 281 libinput.enable = true;
  32. 282 };
  33. 283 };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement