aboutsummaryrefslogtreecommitdiff
path: root/modules/apps/sproxy.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/apps/sproxy.nix')
-rw-r--r--modules/apps/sproxy.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/apps/sproxy.nix b/modules/apps/sproxy.nix
index 2c50554..f6eb2af 100644
--- a/modules/apps/sproxy.nix
+++ b/modules/apps/sproxy.nix
@@ -4,7 +4,7 @@ let
inherit (builtins) toString;
inherit (lib)
- filter filterAttrs hasPrefix mapAttrsToList
+ filterAttrs hasPrefix mapAttrsToList
mkEnableOption concatStrings mkIf mkOption types ;
inherit (types)
enum int nullOr attrsOf path str submodule ;
@@ -43,10 +43,9 @@ let
''}
'';
- keys = filter (hasPrefix "/run/keys/")
- ( [ cfg.sslKey ]
+ keys = [ cfg.sslKey ]
++ mapAttrsToList (_: c: c.client_secret_file) (explicit cfg.oauth2)
- );
+ ;
oauth2 = mkOption {
type = attrsOf (submodule {