diff options
Diffstat (limited to 'os/core/networking.nix')
| -rw-r--r-- | os/core/networking.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/os/core/networking.nix b/os/core/networking.nix index d50d899..6cfe4ad 100644 --- a/os/core/networking.nix +++ b/os/core/networking.nix @@ -11,6 +11,25 @@ in options.os.core.network = { enable = lib.mkEnableOption "system-wide networking setup"; + ips = lib.mkOption { + type = lib.types.attrsOf lib.types.str; + default = { + router = "10.0.0.1"; + host = "10.0.0.2"; + vm1-opnsense = "10.0.0.3"; + vm2-gateway = "10.0.0.4"; + vm3-monitor = "10.0.0.5"; + vm4-media = "10.0.0.6"; + vm5-sandbox = "10.0.0.7"; + vm6-storage = "10.0.0.8"; + vm7-web = "10.0.0.9"; + vm8-mail = "10.0.0.10"; + vm9-relays = "10.0.0.11"; + vm10-mc = "10.0.0.12"; + }; + description = "Central registry of static IP allocations for the cluster."; + }; + profile = lib.mkOption { type = lib.types.enum [ "client" |
