commit | f1d6e992b5168249402e98e441ccc0e3d150fa2b | [log] [tgz] |
---|---|---|
author | Samuel Shuert <coded@clicks.codes> | Fri Nov 24 17:28:33 2023 -0500 |
committer | Samuel Shuert <coded@clicks.codes> | Fri Dec 01 22:11:32 2023 -0500 |
tree | 26cb2ed2ff6749c911d0946149620fb9db83769b |
initial commit Change-Id: Icdf87c6c68d88c917468ad949f90af5bcb690831
diff --git a/modules/security.nix b/modules/security.nix new file mode 100644 index 0000000..2ed9cc3 --- /dev/null +++ b/modules/security.nix
@@ -0,0 +1,8 @@ +{ + security.pam.services = { + login.u2fAuth = true; + sudo.u2fAuth = true; + }; + + security.pam.u2f.authFile = ../keys/u2f_mappings; +}