fruitbasket/modules/kpp.nix
2023-07-04 16:03:10 +02:00

16 lines
229 B
Nix

{ config, ... }:
let
domain = "kpp.${config.fsr.domain}";
in
{
services.kpp = {
enable = true;
hostName = domain;
};
services.nginx.virtualHosts."${domain}" = {
enableACME = true;
forceSSL = true;
};
}