diff options
Diffstat (limited to 'modules/nixos/sils/pamconfig.nix')
| -rw-r--r-- | modules/nixos/sils/pamconfig.nix | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/modules/nixos/sils/pamconfig.nix b/modules/nixos/sils/pamconfig.nix deleted file mode 100644 index 4e9f3eb..0000000 --- a/modules/nixos/sils/pamconfig.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ - config, - lib, - ... -}: let - cfg = config.sils.pamconfig; -in { - options.sils.pamconfig.enable = lib.mkEnableOption "custom pamconfig"; - config = lib.mkIf cfg.enable { - security.pam = { - services = { - swaylock = {}; - sudo = { - u2fAuth = true; - }; - login = { - u2fAuth = true; - }; - }; - u2f = { - enable = true; - settings = { - cue = true; - authFile = config.age.secrets.pamu2f-mappings.path; - }; - }; - }; - }; -} |
