diff --git a/modules/web/crimecampus.nix b/modules/web/crimecampus.nix new file mode 100644 index 0000000..9f9e3ba --- /dev/null +++ b/modules/web/crimecampus.nix @@ -0,0 +1,7 @@ +{ config, pkgs, ... }: +let + domain = "cc.${config.networking.domain}"; +in +{ + services.nginx.virtualHosts."${domain}".root = "/srv/web/regex"; +} diff --git a/modules/web/default.nix b/modules/web/default.nix index 262ea0b..c50add9 100644 --- a/modules/web/default.nix +++ b/modules/web/default.nix @@ -1,6 +1,7 @@ { ... }: { imports = [ + ./crimecampus.nix ./ifsrde.nix ./ese.nix ./infoscreen.nix