From c3d019a46e63aef73a4b09f6e9354c723be63338 Mon Sep 17 00:00:00 2001 From: Christoph Hollizeck Date: Tue, 26 Nov 2024 17:05:20 +0100 Subject: [PATCH] rp5: add ethernet --- systems/aarch64-linux/nixberry/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/systems/aarch64-linux/nixberry/default.nix b/systems/aarch64-linux/nixberry/default.nix index 5a9e6d6..a159e22 100644 --- a/systems/aarch64-linux/nixberry/default.nix +++ b/systems/aarch64-linux/nixberry/default.nix @@ -25,7 +25,7 @@ in }; networking = { - interfaces.wlan0 = { + interfaces.end0 = { ipv4.addresses = [ { address = ipAddress; @@ -34,6 +34,15 @@ in ]; useDHCP = true; }; + interfaces.wlan0 = { + ipv4.addresses = [ + { + address = "192.168.178.3"; + prefixLength = 24; + } + ]; + useDHCP = true; + }; defaultGateway = { address = "192.168.178.1"; interface = "wlan0";