mirror of
https://github.com/Mic92/sops-nix.git
synced 2024-12-14 11:57:52 +00:00
fix darwin evaluation
This commit is contained in:
parent
fe6a1bb922
commit
1c75c1c13a
1 changed files with 2 additions and 2 deletions
|
@ -1,12 +1,13 @@
|
|||
{ writeTextFile, cfg }:
|
||||
|
||||
suffix: secrets: extraJson:
|
||||
suffix: secrets: templates: extraJson:
|
||||
|
||||
writeTextFile {
|
||||
name = "manifest${suffix}.json";
|
||||
text = builtins.toJSON (
|
||||
{
|
||||
secrets = builtins.attrValues secrets;
|
||||
templates = builtins.attrValues templates;
|
||||
# Does this need to be configurable?
|
||||
secretsMountPoint = "/run/secrets.d";
|
||||
symlinkPath = "/run/secrets";
|
||||
|
@ -16,7 +17,6 @@ writeTextFile {
|
|||
ageKeyFile = cfg.age.keyFile;
|
||||
ageSshKeyPaths = cfg.age.sshKeyPaths;
|
||||
useTmpfs = false;
|
||||
templates = cfg.templates;
|
||||
placeholderBySecretName = cfg.placeholder;
|
||||
userMode = false;
|
||||
logging = {
|
||||
|
|
Loading…
Reference in a new issue