16 lines
236 B
Nix
16 lines
236 B
Nix
{ config, ... }:
|
|
let
|
|
domain = "kpp.${config.networking.domain}";
|
|
in
|
|
{
|
|
services.kpp = {
|
|
enable = true;
|
|
hostName = domain;
|
|
};
|
|
services.nginx.virtualHosts."${domain}" = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
};
|
|
|
|
}
|