mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
sops: set sops-config in dev shell
This commit is contained in:
parent
062fd5de0b
commit
d7e3fdeccd
2 changed files with 3 additions and 5 deletions
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue