configuration.nix/hosts/rico2/services/caddy.nix

19 lines
315 B
Nix

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