1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2025-04-09 02:14:08 +00:00

Allow paths in sops.environment

Useful for things like `sops.environment.SOPS_GPG_EXEC = pkgs.writeShellScript ...`
This commit is contained in:
Naïm Favier 2022-01-23 13:39:26 +01:00 committed by GitHub
parent 7edb4b0800
commit d5d9e67dea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -192,7 +192,7 @@ in {
};
environment = mkOption {
type = types.attrsOf types.str;
type = types.attrsOf (types.either types.str types.path);
default = {};
description = ''
Environment variables to set before calling sops-install-secrets.