16 lines
229 B
Nix
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;
|
||
|
};
|
||
|
|
||
|
}
|