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:
parent
7edb4b0800
commit
d5d9e67dea
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue