diff options
author | Silas Schöffel <sils@sils.li> | 2024-12-18 00:08:13 +0100 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-12-18 00:24:14 +0100 |
commit | cbca4efd85d03c0595a23dab77c84013eb157c51 (patch) | |
tree | 440af921a26cefe818d2fe21c6e7567ca989bfcf /sys/security | |
parent | keyboard: move to basesystem (diff) | |
download | nix-config-cbca4efd85d03c0595a23dab77c84013eb157c51.tar.gz nix-config-cbca4efd85d03c0595a23dab77c84013eb157c51.zip |
pamconfig: move to new module tree
Diffstat (limited to 'sys/security')
-rw-r--r-- | sys/security/default.nix | 1 | ||||
-rw-r--r-- | sys/security/pam/default.nix | 18 |
2 files changed, 0 insertions, 19 deletions
diff --git a/sys/security/default.nix b/sys/security/default.nix index 234bf6d..699374b 100644 --- a/sys/security/default.nix +++ b/sys/security/default.nix @@ -1,6 +1,5 @@ {...}: { imports = [ - ./pam ./rtkit ]; } diff --git a/sys/security/pam/default.nix b/sys/security/pam/default.nix deleted file mode 100644 index ee0d843..0000000 --- a/sys/security/pam/default.nix +++ /dev/null @@ -1,18 +0,0 @@ -{config, ...}: { - security.pam = { - services = { - swaylock = {}; - sudo = { - u2fAuth = true; - }; - login = { - u2fAuth = true; - }; - }; - u2f = { - enable = true; - cue = true; - authFile = config.age.secrets.pamu2f-mappings.path; - }; - }; -} |