summaryrefslogtreecommitdiffstats
path: root/tv/1systems/doppelbock.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-04-08 03:53:34 +0200
committertv <tv@krebsco.de>2016-04-08 03:53:34 +0200
commit46e818ebbc5446b4215ad9524089d9b2dc91cbd3 (patch)
tree13d7021f55991559d17f3eb51e7ffb8957d093e5 /tv/1systems/doppelbock.nix
parent827f1790803bda906ed71c56138cfdbf108ee730 (diff)
retiolum: don't hardcode routing prefixes
Diffstat (limited to 'tv/1systems/doppelbock.nix')
-rw-r--r--tv/1systems/doppelbock.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/tv/1systems/doppelbock.nix b/tv/1systems/doppelbock.nix
index 9a8d5b05d..ec85a7772 100644
--- a/tv/1systems/doppelbock.nix
+++ b/tv/1systems/doppelbock.nix
@@ -13,8 +13,8 @@ with config.krebs.lib;
networking = {
interfaces.enp2s1.ip4 = singleton {
address = let
- addr4 = "45.62.237.203";
- in assert config.krebs.build.host.nets.internet.addrs4 == [addr4]; addr4;
+ addr = "45.62.237.203";
+ in assert config.krebs.build.host.nets.internet.ip4.addr == addr; addr;
prefixLength = 24;
};
defaultGateway = "45.62.237.1";