From 05152b6db431b398b5317db5cf0e9a519ee19b30 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Sat, 25 May 2024 15:36:33 +0200 Subject: [PATCH] web: init crimecampus --- modules/web/crimecampus.nix | 7 +++++++ modules/web/default.nix | 1 + 2 files changed, 8 insertions(+) create mode 100644 modules/web/crimecampus.nix 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