diff --git a/hosts/framework/configuration.nix b/hosts/framework/configuration.nix index e7bb78a..a5f0a90 100644 --- a/hosts/framework/configuration.nix +++ b/hosts/framework/configuration.nix @@ -26,7 +26,15 @@ # Use systemd-networkd for the Ethernet interface networking.useNetworkd = true; - networking.interfaces.enp195s0f3u1u1.useDHCP = true; + networking.interfaces.enp195s0f3u1u1 = { + useDHCP = false; + ipv4.addresses = [ + { + address = "192.168.1.100"; # Choose an IP in the same subnet as the Raspberry Pi + prefixLength = 24; + } + ]; + }; # Set your time zone. time.timeZone = "Europe/Stockholm";