diff --git a/systems/aarch64-linux/srv-raspi5/default.nix b/systems/aarch64-linux/srv-raspi5/default.nix index fd9e87e..edaeaf3 100644 --- a/systems/aarch64-linux/srv-raspi5/default.nix +++ b/systems/aarch64-linux/srv-raspi5/default.nix @@ -1,5 +1,8 @@ { pkgs, ... }: +let + ip = "172.16.0.13"; +in { imports = [ ./hardware.nix ]; @@ -32,11 +35,19 @@ }; networking = { + macvlans.shim-end0 = { + interface = "end0"; + mode = "bridge"; + }; interfaces = { end0.ipv4.addresses = [{ - address = "172.16.0.13"; + address = ip; prefixLength = 24; }]; + shim-end0.ipv4.addresses = [{ + address = ip; + prefixLength = 32; + }]; }; defaultGateway = "172.16.0.1"; nameservers = [ "172.16.0.3" "172.16.0.4" ];