sops: set sops-config in dev shell

This commit is contained in:
SebastianStork 2025-07-22 23:26:50 +02:00
parent 062fd5de0b
commit d7e3fdeccd
2 changed files with 3 additions and 5 deletions

View file

@ -29,9 +29,6 @@
jsonConfig = { creation_rules = hostCreationRules ++ userCreationRules; } |> lib.strings.toJSON;
in
pkgs.runCommand "sops-config" { buildInputs = [ pkgs.yj ]; } ''
mkdir $out
echo '${jsonConfig}' | yj -jy > $out/sops.yaml
'';
pkgs.runCommand "sops-config" { buildInputs = [ pkgs.yj ]; } "echo '${jsonConfig}' | yj -jy > $out";
};
}