summary refs log tree commit diff
path: root/machines/fourmi
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2025-04-16 12:49:53 +0200
committerMel <mel@rnrd.eu>2025-04-16 12:49:53 +0200
commit5e1a9f0179c0beb73b63140a3ee20c4acb04fcc4 (patch)
treee2d3c83e761dc2bec056d81c268bc500ad148a6c /machines/fourmi
parent6c9f992808b6cf8b079f4c8cfa5625de1e624618 (diff)
downloadnetwork-5e1a9f0179c0beb73b63140a3ee20c4acb04fcc4.tar.zst
network-5e1a9f0179c0beb73b63140a3ee20c4acb04fcc4.zip
Move WWW configuration into foundation module, and make it configurable
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'machines/fourmi')
-rw-r--r--machines/fourmi/default.nix12
1 files changed, 10 insertions, 2 deletions
diff --git a/machines/fourmi/default.nix b/machines/fourmi/default.nix
index 780838d..1d53631 100644
--- a/machines/fourmi/default.nix
+++ b/machines/fourmi/default.nix
@@ -8,8 +8,16 @@
     ./devices.nix
   ];
 
-  foundation.monitoring = {
-    client.enable = false;
+  foundation = {
+    www = {
+      enable = true;
+      public = false;
+      tailnet = true;
+    };
+
+    monitoring = {
+      client.enable = false;
+    };
   };
 
   # extra packages for dealing with the device