summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/prefect.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/system/prefect.nix b/system/prefect.nix
index aa1fdf8f..916477d3 100644
--- a/system/prefect.nix
+++ b/system/prefect.nix
@@ -34,7 +34,14 @@
     Option "MetaModes" "2560x1440_120"
   '';
 
-  services.xserver.xautolock.enable = pkgs.lib.mkForce false;
+  services.xserver = {
+    displayManager.lightdm.autoLogin = {
+      enable = true;
+      user = "alan";
+    };
+    xautolock.enable = pkgs.lib.mkForce false;
+  };
+
   powerManagement.enable = false;
   # powerManagement.cpuFreqGovernor = "performance";
   networking = {