refactor: streamline all websites into one folder

This commit is contained in:
Rouven Seifert 2024-03-12 11:49:01 +01:00
parent 71fdea75be
commit b429e6468f
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
12 changed files with 17 additions and 11 deletions

16
modules/web/manual.nix Normal file
View file

@ -0,0 +1,16 @@
{ config, ... }:
let
domain = "manual.${config.networking.domain}";
in
{
services.ese-manual = {
enable = true;
hostName = domain;
};
services.nginx = {
virtualHosts."${domain}" = {
addSSL = true;
enableACME = true;
};
};
}