fruitbasket/modules/manual.nix
2023-10-23 10:47:40 +02:00

17 lines
289 B
Nix

{ pkgs, config, lib, ... }:
let
domain = "manual.${config.networking.domain}";
in
{
services.ese-manual = {
enable = true;
hostName = domain;
};
services.nginx = {
virtualHosts."${domain}" = {
addSSL = true;
enableACME = true;
};
};
}