configuration.nix/hosts/rico2/services/caddy.nix
2023-07-11 22:41:18 +05:30

12 lines
267 B
Nix

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