summary refs log tree commit diff
path: root/modules/foundation/services/default.nix
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2025-08-31 17:24:03 +0200
committerMel <mel@rnrd.eu>2025-08-31 17:24:03 +0200
commitfcbc0446f11b8555c1204081c23fbd1442534aa0 (patch)
tree4479bef5a2bd80987add6c34440fee4ba894abed /modules/foundation/services/default.nix
parent72ed2e170f32698f8a8596532c1d7655591267c3 (diff)
downloadnetwork-fcbc0446f11b8555c1204081c23fbd1442534aa0.tar.zst
network-fcbc0446f11b8555c1204081c23fbd1442534aa0.zip
Clean up & integrate service network configuration into foundation module
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'modules/foundation/services/default.nix')
-rw-r--r--modules/foundation/services/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/foundation/services/default.nix b/modules/foundation/services/default.nix
new file mode 100644
index 0000000..25477b1
--- /dev/null
+++ b/modules/foundation/services/default.nix
@@ -0,0 +1,16 @@
+{ ... }:
+
+{
+  imports = [
+    ./services.nix
+    ./networks.nix
+  ];
+
+  foundation.networks.foundation-default = {
+    enable = true;
+    default = true;
+
+    subnet = "2001:d0c:1::/48";
+    driver = "bridge";
+  };
+}