From cfa3de1bb5eefe6c8f0c068396d8cb567a11efb8 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Fri, 3 Oct 2025 15:26:08 +0200 Subject: [PATCH] chore: set ip for direct connection on `iris` --- hosts/iris/default.nix | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/hosts/iris/default.nix b/hosts/iris/default.nix index 84fd5e4..3dec566 100644 --- a/hosts/iris/default.nix +++ b/hosts/iris/default.nix @@ -27,17 +27,15 @@ networkmanager.enable = true; }; - systemd.network.networks."99-local" = { - matchConfig.name = "enp68s0"; - address = [ - "192.168.1.100/24" - ]; - routes = [ - { - Gateway = "172.16.10.1"; - GatewayOnLink = false; - } - ]; + networking = { + interfaces.ens4d1 = { + ipv4.addresses = [ + { + address = "192.168.1.101"; + prefixLength = 24; + } + ]; + }; }; liv = {