19 lines
315 B
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}
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
}
|