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

14 lines
304 B
Nix

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