From b40e89f23632d3fabe95bbf214bb77a32567b3d9 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Thu, 13 Oct 2016 16:21:52 +0300 Subject: Do not filter keys at application level It's done in the nixsap.deployment module See b24ae5d345aa84bdba20efbb4a14ddfc9bf39873 --- modules/apps/mediawiki/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/apps/mediawiki') diff --git a/modules/apps/mediawiki/default.nix b/modules/apps/mediawiki/default.nix index 584d86a..58b8d7e 100644 --- a/modules/apps/mediawiki/default.nix +++ b/modules/apps/mediawiki/default.nix @@ -11,7 +11,7 @@ let attrsOf bool either enum int lines listOf nullOr path str submodule unspecified; inherit (builtins) - attrNames elem filter isAttrs isBool isList isString toString; + attrNames elem isAttrs isBool isList isString toString; cfg = config.nixsap.apps.mediawiki; user = config.nixsap.apps.mediawiki.user; @@ -34,7 +34,7 @@ let concatMapAttrsSep = s: f: attrs: concatStringsSep s (mapAttrsToList f attrs); enabledExtentions = attrNames (filterAttrs (_: enabled: enabled) (explicit cfg.extensions)); - keys = filter (hasPrefix "/run/keys/") (mapAttrsToList (_: o: o.password-file) cfg.users); + keys = mapAttrsToList (_: o: o.password-file) cfg.users; settings = let -- cgit v1.2.3