Skip to content

Commit

Permalink
fix darwin evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Nov 17, 2024
1 parent 2c718f6 commit 236c557
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/nix-darwin/manifest-for.nix
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -16,7 +17,6 @@ writeTextFile {
ageKeyFile = cfg.age.keyFile;
ageSshKeyPaths = cfg.age.sshKeyPaths;
useTmpfs = false;
templates = cfg.templates;
placeholderBySecretName = cfg.placeholder;
userMode = false;
logging = {
Expand Down

0 comments on commit 236c557

Please sign in to comment.