From 0c64358f3e50f59987cb43920a3fb2e3611a2a8d Mon Sep 17 00:00:00 2001 From: randogoth Date: Sat, 7 Feb 2026 19:26:55 +0200 Subject: [PATCH] Set static IPv4 for ens3 --- hosts/bucur.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hosts/bucur.nix b/hosts/bucur.nix index 0cc416d..4386dda 100644 --- a/hosts/bucur.nix +++ b/hosts/bucur.nix @@ -1,6 +1,15 @@ { lib, ... }: { networking.hostName = "bucur"; + networking.useDHCP = false; + networking.interfaces.ens3.ipv4.addresses = [ + { + address = "194.68.44.28"; + prefixLength = 24; + } + ]; + networking.defaultGateway = "194.68.44.1"; + networking.nameservers = [ "1.1.1.1" "1.0.0.1" ]; time.timeZone = "UTC"; i18n.defaultLocale = "en_US.UTF-8"; system.stateVersion = "25.11";