From 009945a5eaef4bb2f7bbe0f739e80a2b788e01d6 Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Sat, 2 Jul 2022 14:59:25 +0200 Subject: [PATCH] cirrus: use static IP --- hosts/cirrus/configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/cirrus/configuration.nix b/hosts/cirrus/configuration.nix index 6b0ba45..a8077dc 100644 --- a/hosts/cirrus/configuration.nix +++ b/hosts/cirrus/configuration.nix @@ -22,7 +22,9 @@ networks."uplink" = { matchConfig = { Name = "enp1s0"; }; networkConfig = { - DHCP = "yes"; # hetzner suggests this as default + Address = "95.216.166.21/32"; + Gateway = "172.31.1.1"; + DNS = "1.1.1.1"; }; }; };