configuration.nix/hosts/rico2/services/caddy.nix
2023-07-01 17:45:08 +05:30

12 lines
265 B
Nix

{secrets, ...}: {
services.caddy = {
enable = true;
email = secrets.caddy_config.email;
virtualHosts."proofs.adtya.xyz" = {
extraConfig = ''
redir https://keyoxide.org/hkp/${secrets.users.primary.pgpFingerprint}
'';
};
};
}