summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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 c159374..3f58497 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;
     };
   };