summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--modules/programs/window-manager.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/programs/window-manager.nix b/modules/programs/window-manager.nix
index c1593745..3f584979 100644
--- a/modules/programs/window-manager.nix
+++ b/modules/programs/window-manager.nix
@@ -1,8 +1,15 @@
 { config, pkgs, ... }:
 
-{ services.xserver.displayManager = {
+{ services.xserver = {
+   displayManager = {
     lightdm = {
+        enable = true;
+      };
+    };
+    xautolock = {
       enable = true;
+      locker = "${pkgs.i3lock-color}";
+      time = 5;
     };
   };