setup building blocks for sops
This commit is contained in:
parent
6ad305d3a9
commit
a663a2df00
4 changed files with 8 additions and 0 deletions
2
secrets/.gitignore
vendored
Normal file
2
secrets/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
unencrypted/*
|
||||||
|
**/unencrypted
|
0
secrets/.sops.yaml
Normal file
0
secrets/.sops.yaml
Normal file
0
secrets/encrypted/.gitkeep
Normal file
0
secrets/encrypted/.gitkeep
Normal file
6
secrets/secrets.nix
Normal file
6
secrets/secrets.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{lib}:
|
||||||
|
|
||||||
|
lib.mapAttrs' (name: v: (lib.nameValuePair name {
|
||||||
|
sopsFile = ./encrypted + "/${name}";
|
||||||
|
format = "binary";
|
||||||
|
})) (builtins.readDir ./encrypted)
|
Loading…
Reference in a new issue