mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-04-18 02:06:50 +00:00
Fix missing spaces in script
This commit is contained in:
parent
2124bcbb8a
commit
5e580b4bdd
1 changed files with 3 additions and 1 deletions
|
@ -84,7 +84,9 @@ let
|
|||
|
||||
manifest = manifestFor "" cfg.secrets;
|
||||
|
||||
script = toString (pkgs.writeShellScript "sops-nix-user" ((lib.optionalString (cfg.gnupg.home != null) "export SOPS_GPG_EXEC=${pkgs.gnupg}/bin/gpg")
|
||||
script = toString (pkgs.writeShellScript "sops-nix-user" ((lib.optionalString (cfg.gnupg.home != null) ''
|
||||
export SOPS_GPG_EXEC=${pkgs.gnupg}/bin/gpg
|
||||
'')
|
||||
+ (lib.optionalString cfg.age.generateKey ''
|
||||
if [[ ! -f '${cfg.age.keyFile}' ]]; then
|
||||
echo generating machine-specific age key...
|
||||
|
|
Loading…
Add table
Reference in a new issue