setup building blocks for sops

This commit is contained in:
Sakooooo 2023-08-31 13:48:46 +04:00
parent 6ad305d3a9
commit a663a2df00
Signed by: sako
GPG key ID: 3FD715D87D7725E0
4 changed files with 8 additions and 0 deletions

2
secrets/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
unencrypted/*
**/unencrypted

0
secrets/.sops.yaml Normal file
View file

View file

6
secrets/secrets.nix Normal file
View file

@ -0,0 +1,6 @@
{lib}:
lib.mapAttrs' (name: v: (lib.nameValuePair name {
sopsFile = ./encrypted + "/${name}";
format = "binary";
})) (builtins.readDir ./encrypted)