From b78ec7e9ef89d99a31cb1c86ba463a222fc78a97 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Fri, 19 Jan 2024 01:28:03 +0100 Subject: [PATCH] zap network --- systems/zap/default.nix | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/systems/zap/default.nix b/systems/zap/default.nix index ee5a27e..451bef1 100644 --- a/systems/zap/default.nix +++ b/systems/zap/default.nix @@ -26,6 +26,21 @@ networking = { wireless.enable = lib.mkForce false; + interfaces.eth0 = { + ipv4.addresses = [{ + address = "134.255.219.135"; + prefixLength = 24; + }]; + ipv6.addresses = [{ + address = "fe80::a018:44ff:fe5a:fb5b"; + prefixLength = 64; + }]; + }; + defaultGateway6 = { + address = "fe80::"; + interface = "eth0"; + }; + defaultGateway = "134.255.219.255"; }; time.timeZone = "Europe/Berlin"; @@ -68,7 +83,7 @@ bootable = true; content = { type = "filesystem"; - format = "ext4"; + format = "bcachefs"; mountpoint = "/"; }; }