17 lines
289 B
Nix
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;
|
|
};
|
|
};
|
|
}
|