all repos — nixfiles @ 0c432ed9c48d79fd2c3e913d9f64fc09020a3d56

System and user configuration, managed by nix and home-manager

prefect: enable autologin
Alan Pearce alan@alanpearce.eu
Tue, 03 Dec 2019 19:03:08 +0100
commit

0c432ed9c48d79fd2c3e913d9f64fc09020a3d56

parent

e8d379b74b870f1c03903636177983a65d14e4df

1 files changed, 8 insertions(+), 1 deletions(-)

jump to
M system/prefect.nixsystem/prefect.nix
@@ -34,7 +34,14 @@ services.xserver.screenSection = ''     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 = {