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

13 lines
267 B
Nix
Raw Normal View History

2023-07-01 17:45:08 +05:30
{secrets, ...}: {
2023-06-02 12:27:40 +05:30
services.caddy = {
enable = true;
2023-07-11 22:41:18 +05:30
inherit (secrets.caddy_config) email;
2023-06-02 23:40:36 +05:30
virtualHosts."proofs.adtya.xyz" = {
extraConfig = ''
redir https://keyoxide.org/hkp/${secrets.users.primary.pgpFingerprint}
'';
};
2023-06-02 12:27:40 +05:30
};
}