about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-12-03 14:04:10 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-12-03 14:04:10 +0100
commit80343ad36d8de4b563bb2b3e76d886bb36cba50b (patch)
treeb9d09391b8dc155a33f1e8100062cebee5554a15
parentae684af32dcb40a51153132fd5127d98d45d4b83 (diff)
downloaddots-80343ad36d8de4b563bb2b3e76d886bb36cba50b.tar.gz
dots-80343ad36d8de4b563bb2b3e76d886bb36cba50b.zip
Add yubikey support
-rw-r--r--platforms/linux/configuration.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/platforms/linux/configuration.nix b/platforms/linux/configuration.nix
index 3ef93dd..5658487 100644
--- a/platforms/linux/configuration.nix
+++ b/platforms/linux/configuration.nix
@@ -319,6 +319,10 @@ in
   users.defaultUserShell = "/run/current-system/sw/bin/zsh";
   security.sudo.wheelNeedsPassword = false;
 
+  security.pam.u2f = {
+    enable = true;
+    cue = true;
+  };
 
 
   # This value determines the NixOS release from which the default