From 0c34b9fcf8c4a0e1dbabd26b94394cdc50d51c78 Mon Sep 17 00:00:00 2001 From: Alex Guzman Date: Sun, 17 Mar 2019 18:25:20 -0700 Subject: 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. --- nixos/modules/security/duosec.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/security') 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 -- cgit v1.2.3