nixos/secrets/secrets.nix

7 lines
154 B
Nix
Raw Normal View History

2023-08-31 13:48:46 +04:00
{lib}:
lib.mapAttrs' (name: v: (lib.nameValuePair name {
sopsFile = ./encrypted + "/${name}";
format = "binary";
})) (builtins.readDir ./encrypted)