diff options
author | Alex Guzman <alex@guzman.io> | 2019-03-17 18:25:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-17 18:25:20 -0700 |
commit | 0c34b9fcf8c4a0e1dbabd26b94394cdc50d51c78 (patch) | |
tree | 397af878c81e0f967ae58ea06740e615674a9509 /nixos | |
parent | d4559c372d99a84b6aec5d4b679e1248078bc44a (diff) |
nixos/security: make duo support secure failure correctly
seems that this got broken when the config option was made to use enums. "secure" got replaced with "enum", which isn't a valid option for the failure mode.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/security/duosec.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/security/duosec.nix b/nixos/modules/security/duosec.nix index 14bf118f2d84..997328ad9e6a 100644 --- a/nixos/modules/security/duosec.nix +++ b/nixos/modules/security/duosec.nix @@ -76,7 +76,7 @@ in }; failmode = mkOption { - type = types.enum [ "safe" "enum" ]; + type = types.enum [ "safe" "secure" ]; default = "safe"; description = '' On service or configuration errors that prevent Duo |