age.nix 370 B

12345678910111213
  1. { config, inputs, ... }:
  2. {
  3. imports = [ inputs.agenix.nixosModules.default ];
  4. age.identityPaths = [ "/persist/etc/ssh/ssh_host_ed25519_key" ];
  5. age.secrets = {
  6. "odin/nullmailer/remotes" = {
  7. file = inputs.secrets."odin/nullmailer/remotes";
  8. owner = config.services.nullmailer.user;
  9. };
  10. "odin/thomas".file = inputs.secrets."odin/thomas";
  11. };
  12. }