about summary refs log tree commit diff
path: root/platforms/linux/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/linux/configuration.nix')
-rw-r--r--platforms/linux/configuration.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/platforms/linux/configuration.nix b/platforms/linux/configuration.nix
index a472bb9..f65f430 100644
--- a/platforms/linux/configuration.nix
+++ b/platforms/linux/configuration.nix
@@ -41,6 +41,7 @@ in
       ../../modules/dockd.nix
       ../../modules/trackpad.nix
       ../../modules/agetty.nix
+      ../../modules/slock.nix
       ../../hardware-configuration.nix
     ];
 
@@ -214,7 +215,6 @@ in
   };
 
   programs.vim.defaultEditor = true;
-  programs.slock.enable = true;
   programs.browserpass.enable = true;
   programs.dockd.enable = true;
   programs.adb.enable = true;
@@ -233,6 +233,7 @@ in
 
   services.agetty = {
     defaultUser = "pn";
+    # autologinUser = "pn";
   };
 
   # Enable the OpenSSH daemon.
@@ -327,6 +328,9 @@ in
   security.pam.u2f = {
     enable = true;
     cue = true;
+    interactive = true;
+    #control = "required";
+    #control = "requisite";
   };