mirror of
https://github.com/Mic92/sops-nix.git
synced 2024-12-14 11:57:52 +00:00
home-manager: fix implicit dependency on coreutils
fixes https://github.com/Mic92/sops-nix/issues/542
This commit is contained in:
parent
b94c6edbb8
commit
e31339a204
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ let
|
|||
+ (lib.optionalString cfg.age.generateKey ''
|
||||
if [[ ! -f '${cfg.age.keyFile}' ]]; then
|
||||
echo generating machine-specific age key...
|
||||
mkdir -p $(dirname ${cfg.age.keyFile})
|
||||
${pkgs.coreutils}/bin/mkdir -p $(${pkgs.coreutils}/bin/dirname ${cfg.age.keyFile})
|
||||
# age-keygen sets 0600 by default, no need to chmod.
|
||||
${pkgs.age}/bin/age-keygen -o ${cfg.age.keyFile}
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue