From 00ed5de34945b27465604b063d4cc50864b8500b Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 12 Apr 2016 17:13:29 +0200 Subject: doppelbock -> cd --- tv/1systems/cd.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'tv/1systems/cd.nix') diff --git a/tv/1systems/cd.nix b/tv/1systems/cd.nix index 687f179..32d956b 100644 --- a/tv/1systems/cd.nix +++ b/tv/1systems/cd.nix @@ -61,16 +61,16 @@ with config.krebs.lib; } ]; - networking.interfaces.enp2s1.ip4 = [ - { - address = "162.219.7.216"; + networking = { + interfaces.enp2s1.ip4 = singleton { + address = let + addr = "45.62.237.203"; + in assert config.krebs.build.host.nets.internet.ip4.addr == addr; addr; prefixLength = 24; - } - ]; - networking.defaultGateway = "162.219.7.1"; - networking.nameservers = [ - "8.8.8.8" - ]; + }; + defaultGateway = "45.62.237.1"; + nameservers = ["8.8.8.8"]; + }; environment.systemPackages = with pkgs; [ htop -- cgit v1.2.3