summary refs log tree commit diff
path: root/machines/corsac/default.nix
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2025-04-16 12:56:23 +0200
committerMel <mel@rnrd.eu>2025-04-16 12:56:23 +0200
commit22eb149ed7e337fb49eca779e9f7b8fc1600d823 (patch)
tree68678cffcf27fb3490966e04902d6342d9a143dc /machines/corsac/default.nix
parent5e1a9f0179c0beb73b63140a3ee20c4acb04fcc4 (diff)
downloadnetwork-22eb149ed7e337fb49eca779e9f7b8fc1600d823.tar.zst
network-22eb149ed7e337fb49eca779e9f7b8fc1600d823.zip
Configure foundation WWW for all machines
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'machines/corsac/default.nix')
-rw-r--r--machines/corsac/default.nix22
1 files changed, 18 insertions, 4 deletions
diff --git a/machines/corsac/default.nix b/machines/corsac/default.nix
index d030b31..c3d7d85 100644
--- a/machines/corsac/default.nix
+++ b/machines/corsac/default.nix
@@ -7,7 +7,6 @@
     ./hardware.nix
     ./devices.nix
 
-    ../../modules/www
     ../../modules/dns.nix
     ../../modules/ddns.nix
     ../../modules/nfs.nix
@@ -18,9 +17,24 @@
     ../../services/transmission.nix
   ];
 
-  foundation.monitoring = {
-    client.enable = true;
-    services = [ "base" "dns" "home" "jellyfin" "immich" ];
+  foundation = {
+    www = {
+      enable = true;
+
+      public = true;
+      tailnet = true;
+    };
+
+    monitoring = {
+      client.enable = true;
+      services = [
+        "base"
+        "dns"
+        "home"
+        "jellyfin"
+        "immich"
+      ];
+    };
   };
 
   system.stateVersion = "24.05";