about summary refs log tree commit diff
path: root/platforms/linux/configuration.nix
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-12-04 12:46:12 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-12-04 12:46:12 +0100
commit48c708af222cd4120d81565200e046dc3414b3b1 (patch)
tree9d335905f92bea03e9baf747cc653bff216342da /platforms/linux/configuration.nix
parent3b87be08e7846acd493c95bceb8e13bbea032ffb (diff)
downloaddots-48c708af222cd4120d81565200e046dc3414b3b1.tar.gz
dots-48c708af222cd4120d81565200e046dc3414b3b1.zip
Update slock
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";
   };