Skip to content

Commit

Permalink
nixos/pam: fixup refactor
Browse files Browse the repository at this point in the history
(cherry picked from commit b6fe803)
  • Loading branch information
aanderse authored and github-actions[bot] committed Jan 9, 2025
1 parent 7b14281 commit 853b5da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/security/pam.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1191,7 +1191,7 @@ in

control = lib.mkOption {
default = "sufficient";
type = lib.types.enum [ "required" "requisite" "sufficient" "lib.optional" ];
type = lib.types.enum [ "required" "requisite" "sufficient" "optional" ];
description = ''
This option sets pam "control".
If you want to have multi factor authentication, use "required".
Expand Down

0 comments on commit 853b5da

Please sign in to comment.