From 12c8870f6dafe73af6c54e1f7289869e3a1355fb Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Sun, 8 Dec 2024 10:48:53 +0100 Subject: [PATCH] chore(meta): Sort nodes --- meta/network.nix | 54 ++++++++++++++++++++++++------------------------ meta/options.nix | 1 + 2 files changed, 28 insertions(+), 27 deletions(-) diff --git a/meta/network.nix b/meta/network.nix index 0175c67..d194deb 100644 --- a/meta/network.nix +++ b/meta/network.nix @@ -75,6 +75,33 @@ netbirdIp = "100.80.233.249"; }; + rescue01 = { + interfaces = { + ens18 = { + ipv6 = [ + { + address = "2a01:e0a:de4:a0e1:2d73:2a7e:18db:5728"; + prefixLength = 64; + } + ]; + + ipv4 = [ + { + address = "192.168.0.232"; + prefixLength = 21; + } + ]; + gateways = [ "192.168.0.1" ]; + enableDefaultDNS = true; + }; + }; + + addresses.ipv4 = [ "82.67.34.230" ]; + + hostId = "007f0200"; + netbirdIp = "100.80.97.140"; + }; + storage01 = { interfaces = { eno1 = { @@ -173,31 +200,4 @@ hostId = "8afc7749"; netbirdIp = "100.80.157.46"; }; - - rescue01 = { - interfaces = { - ens18 = { - ipv6 = [ - { - address = "2a01:e0a:de4:a0e1:2d73:2a7e:18db:5728"; - prefixLength = 64; - } - ]; - - ipv4 = [ - { - address = "192.168.0.232"; - prefixLength = 21; - } - ]; - gateways = [ "192.168.0.1" ]; - enableDefaultDNS = true; - }; - }; - - addresses.ipv4 = [ "82.67.34.230" ]; - - hostId = "007f0200"; - netbirdIp = "100.80.97.140"; - }; } diff --git a/meta/options.nix b/meta/options.nix index 53b51cf..d646c24 100644 --- a/meta/options.nix +++ b/meta/options.nix @@ -147,6 +147,7 @@ in Version of nixpkgs to use. ''; }; + system = mkOption { type = enum nixpkgs.systems.supported; inherit (nixpkgs.systems) default;