From 22eb149ed7e337fb49eca779e9f7b8fc1600d823 Mon Sep 17 00:00:00 2001 From: Mel Date: Wed, 16 Apr 2025 12:56:23 +0200 Subject: Configure foundation WWW for all machines Signed-off-by: Mel --- machines/renard/default.nix | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) (limited to 'machines/renard/default.nix') diff --git a/machines/renard/default.nix b/machines/renard/default.nix index f56c2f5..aed4b2e 100644 --- a/machines/renard/default.nix +++ b/machines/renard/default.nix @@ -7,7 +7,6 @@ ./hardware.nix ./devices.nix - ../../modules/www ../../modules/binary-cache.nix ../../modules/git.nix ../../modules/syncthing.nix @@ -19,15 +18,32 @@ ../../services/irc ]; - foundation.monitoring = { - server = { + foundation = { + www = { enable = true; - hosts = map (m: { - inherit (m) name; inherit (m.tailscale) ip; - }) machines; + + public = true; + tailnet = true; }; - services = [ "base" "tailnet" "cache" "git" "mel" "shorest" ]; + monitoring = { + server = { + enable = true; + hosts = map (m: { + inherit (m) name; + inherit (m.tailscale) ip; + }) machines; + }; + + services = [ + "base" + "tailnet" + "cache" + "git" + "mel" + "shorest" + ]; + }; }; services.nginx.virtualHosts = { -- cgit 1.4.1