aboutsummaryrefslogtreecommitdiff
path: root/hosts/tower
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/tower')
-rw-r--r--hosts/tower/network.nix10
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"
+ ];
};
};
};