summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-04-12 17:13:29 +0200
committertv <tv@krebsco.de>2016-04-12 17:13:33 +0200
commit00ed5de34945b27465604b063d4cc50864b8500b (patch)
treeb6d0f99df3ecf095e887a43b2b1ee7ac5f9e63ab
parentaf4cc9534f288eade40a4c34e25eca050a4bdfe1 (diff)
doppelbock -> cd
-rw-r--r--tv/1systems/cd.nix18
-rw-r--r--tv/1systems/doppelbock.nix23
2 files changed, 9 insertions, 32 deletions
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
diff --git a/tv/1systems/doppelbock.nix b/tv/1systems/doppelbock.nix
deleted file mode 100644
index ec85a77..0000000
--- a/tv/1systems/doppelbock.nix
+++ /dev/null
@@ -1,23 +0,0 @@
-{ config, lib, pkgs, ... }:
-with config.krebs.lib;
-{
- krebs.build.host = config.krebs.hosts.doppelbock;
-
- imports = [
- ../.
- ../2configs/hw/CAC-Developer-2.nix
- ../2configs/fs/CAC-CentOS-7-64bit.nix
- ../2configs/retiolum.nix
- ];
-
- 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;
- };
- defaultGateway = "45.62.237.1";
- nameservers = ["8.8.8.8"];
- };
-}