summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-12-03 19:03:08 +0100
committerAlan Pearce2019-12-03 19:03:08 +0100
commit0c432ed9c48d79fd2c3e913d9f64fc09020a3d56 (patch)
tree6bb210b6e7b8f1e3a08c92c97ea6978944322478
parente8d379b74b870f1c03903636177983a65d14e4df (diff)
downloadnixfiles-0c432ed9c48d79fd2c3e913d9f64fc09020a3d56.tar.lz
nixfiles-0c432ed9c48d79fd2c3e913d9f64fc09020a3d56.tar.zst
nixfiles-0c432ed9c48d79fd2c3e913d9f64fc09020a3d56.zip
prefect: enable autologin
-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 = {