refactor: streamline all websites into one folder
This commit is contained in:
parent
71fdea75be
commit
b429e6468f
12 changed files with 17 additions and 11 deletions
16
modules/web/manual.nix
Normal file
16
modules/web/manual.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue