nixos-servers/modules/agenix.nix

11 lines
215 B
Nix
Raw Normal View History

2023-11-22 17:28:55 +00:00
{ config, ... }: {
age = {
identityPaths = [ "/root/age_ed25519" ];
secrets = {
"host_ed25519".file = config.custom.ssh.hostKey;
"user_ed25519".file = config.custom.ssh.userKey;
};
};
}