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

15 lines
304 B
Nix
Raw Normal View History

2023-06-02 12:45:51 +05:30
{...}: let
2023-06-02 23:40:36 +05:30
secrets = import ../../../secrets.nix;
2023-06-02 12:27:40 +05:30
in {
services.caddy = {
enable = true;
2023-06-02 23:40:36 +05:30
email = secrets.caddy_config.email;
virtualHosts."proofs.adtya.xyz" = {
extraConfig = ''
redir https://keyoxide.org/hkp/${secrets.users.primary.pgpFingerprint}
'';
};
2023-06-02 12:27:40 +05:30
};
}