diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2016-10-13 16:21:52 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2016-10-13 16:27:34 +0300 |
commit | b40e89f23632d3fabe95bbf214bb77a32567b3d9 (patch) | |
tree | a76f8222e93152f3886008ad6ef7b6eadbe401ba /modules/apps/pgbackup.nix | |
parent | b24ae5d345aa84bdba20efbb4a14ddfc9bf39873 (diff) | |
download | nixsap-b40e89f23632d3fabe95bbf214bb77a32567b3d9.tar.gz |
Do not filter keys at application level
It's done in the nixsap.deployment module
See b24ae5d345aa84bdba20efbb4a14ddfc9bf39873
Diffstat (limited to 'modules/apps/pgbackup.nix')
-rw-r--r-- | modules/apps/pgbackup.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/apps/pgbackup.nix b/modules/apps/pgbackup.nix index 3428843..7f7c7ca 100644 --- a/modules/apps/pgbackup.nix +++ b/modules/apps/pgbackup.nix @@ -4,7 +4,7 @@ let inherit (builtins) elem isBool isList isString toString ; inherit (lib) - concatMapStringsSep concatStringsSep filter filterAttrs + concatMapStringsSep concatStringsSep filterAttrs findFirst flatten hasPrefix mapAttrsToList mkIf mkOption optionalString removeSuffix ; inherit (lib.types) @@ -252,7 +252,7 @@ let exit "$failed" ''; - keys = filter (f: f != null && hasPrefix "/run/keys/" f) ( [cfg.pgpass cfg.s3cfg] ); + keys = [ cfg.pgpass cfg.s3cfg ]; in { options.nixsap.apps.pgbackup = { |