7 lines
194 B
Nix
7 lines
194 B
Nix
{
|
|
age.secrets = with builtins;
|
|
listToAttrs (map (k: {
|
|
name = substring 0 (stringLength k - 4) k;
|
|
value = {file = ./. + "/${k}";};
|
|
}) (attrNames (import ./secrets.nix)));
|
|
}
|