sops: fix config generation

This commit is contained in:
SebastianStork 2025-07-27 20:28:14 +02:00
parent 472d0eea96
commit 374b33f487

View file

@ -30,7 +30,7 @@
jsonConfig = { creation_rules = hostCreationRules ++ userCreationRules; } |> lib.strings.toJSON; jsonConfig = { creation_rules = hostCreationRules ++ userCreationRules; } |> lib.strings.toJSON;
in in
pkgs.runCommand "sops.yaml" { buildInputs = [ pkgs.yj ]; } '' pkgs.runCommand "sops.yaml" { buildInputs = [ pkgs.yj ]; } ''
echo '${jsonConfig}' | yj -jy > $out^ echo '${jsonConfig}' | yj -jy > $out
''; '';
}; };
} }