fruitbasket/modules/kpp.nix

16 lines
236 B
Nix
Raw Permalink Normal View History

2023-07-04 15:56:50 +02:00
{ config, ... }:
let
domain = "kpp.${config.networking.domain}";
2023-07-04 15:56:50 +02:00
in
{
services.kpp = {
enable = true;
hostName = domain;
};
services.nginx.virtualHosts."${domain}" = {
enableACME = true;
forceSSL = true;
};
}