diff --git a/hosts/web-2/configuration.nix b/hosts/web-2/configuration.nix index c8ccfe9..88fc258 100644 --- a/hosts/web-2/configuration.nix +++ b/hosts/web-2/configuration.nix @@ -18,6 +18,7 @@ ./public.nix ./radicale.nix ./reichartstrasse.nix + ./tap.nix ./uptimestatus.nix ./wetter.nix ./znc.nix diff --git a/hosts/web-2/tap.nix b/hosts/web-2/tap.nix new file mode 100644 index 0000000..09582ce --- /dev/null +++ b/hosts/web-2/tap.nix @@ -0,0 +1,15 @@ +{ pkgs, ... }: + +{ + services.nginx.virtualHosts = { + "tap.clerie.de" = { + enableACME = true; + forceSSL = true; + root = pkgs.fetchgit { + url = "https://git.clerie.de/clerie/tap.clerie.de.git"; + rev = "a90df6f6cb6dc58ab807b230527aae76c48cdcc8"; + sha256 = "sha256-GTUy98NHXvR7pG8lUWZm6wa0XjULnDTSu17C/DQuXBI="; + }; + }; + }; +}