From 12a25b0e5a18dbe3c94ee51c9f0943247a32fe79 Mon Sep 17 00:00:00 2001 From: Isabella Bastaja Date: Sat, 22 Aug 2026 10:59:17 +0200 Subject: tower: another attempt at setting a static address -_- --- hosts/tower/network.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'hosts') diff --git a/hosts/tower/network.nix b/hosts/tower/network.nix index eb6d6d0..6e7bb43 100644 --- a/hosts/tower/network.nix +++ b/hosts/tower/network.nix @@ -13,10 +13,14 @@ systemd.network = { enable = true; networks = { - "10-wan" = { - matchConfig.Name = "enp1s0"; + "10-static" = { + matchConfig.Name = "eno1"; address = [ "172.19.96.2/24" ]; - routes = [ { Gateway = "172.19.96.1"; } ]; + gateway = [ "172.19.96.1" ]; + dns = [ + "1.1.1.1" + "1.0.0.1" + ]; }; }; }; -- cgit v1.3.1