nixos-servers/agenix.nix

11 lines
250 B
Nix
Raw Normal View History

2023-11-15 12:10:27 +00:00
{ machine, ... }: {
age = {
identityPaths = [ "/root/age_ed25519" ];
secrets = {
"host_ed25519".file = ./secrets/${machine.name}_host_ed25519.age;
"user_ed25519".file = ./secrets/${machine.name}_user_ed25519.age;
};
};
}