diff options
| author | Isabella Bastaja <isabella@sorre.xyz> | 2026-08-22 10:59:17 +0200 |
|---|---|---|
| committer | Isabella Bastaja <isabella@sorre.xyz> | 2026-08-22 10:59:42 +0200 |
| commit | 12a25b0e5a18dbe3c94ee51c9f0943247a32fe79 (patch) | |
| tree | a1ed9848bc0d5f7e3e573427d90206080d4ed3df /hosts | |
| parent | d59022f69d5463df76a1e996fdf091fa3f523457 (diff) | |
tower: another attempt at setting a static address -_-
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/tower/network.nix | 10 |
1 files changed, 7 insertions, 3 deletions
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" + ]; }; }; }; |
