diff options
author | lassulus <lass@aidsballs.de> | 2016-04-13 16:52:36 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-04-13 16:52:36 +0200 |
commit | edbf4050efd24941e6b00a4524f3b7e878dfd24f (patch) | |
tree | a920b5560c330ace7183ddda32cfb3b08f9d6351 /tv/1systems/cd.nix | |
parent | 2e8743934061ecb8019c34ee4b1010238e158bf1 (diff) | |
parent | 2b0c6616b66570d5648c5ebe3fdad6642510ede9 (diff) |
Merge remote-tracking branch 'cd/master'
Diffstat (limited to 'tv/1systems/cd.nix')
-rw-r--r-- | tv/1systems/cd.nix | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tv/1systems/cd.nix b/tv/1systems/cd.nix index 687f17951..32d956b8a 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 |