diff options
| author | Max Audron <audron@cocaine.farm> | 2024-02-21 12:51:40 +0100 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2024-02-21 12:51:40 +0100 |
| commit | 1de482e1959d5d2d9a69f181cbb1d77fb6a8d36d (patch) | |
| tree | 01ec52c1959657409457a6927c241fec7cef1b4e /machines/sin01 | |
| parent | update nixpkgs-unstable (diff) | |
set network manually for ns servers
Diffstat (limited to '')
| -rw-r--r-- | machines/sin01/default.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/machines/sin01/default.nix b/machines/sin01/default.nix index 5cf3d72..0827772 100644 --- a/machines/sin01/default.nix +++ b/machines/sin01/default.nix @@ -6,6 +6,23 @@ in networking = { domain = "ns.vapor.systems"; hostName = "sin01"; + + interfaces.eth0 = { + ipv4.addresses = [{ + address = "139.180.191.169"; + prefixLength = 23; + }]; + ipv6.addresses = [{ + address = "2001:19f0:4400:7d6a:5400:3ff:fed5:f26d"; + prefixLength = 64; + }]; + }; + + defaultGateway = "139.180.190.1"; + defaultGateway6 = { + address = "fe80::fc00:3ff:fed5:f26d"; + interface = "eth0"; + }; }; pubKey = |
