diff options
author | tv <tv@krebsco.de> | 2016-04-07 21:40:56 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-04-07 21:43:22 +0200 |
commit | 827f1790803bda906ed71c56138cfdbf108ee730 (patch) | |
tree | 2398af896a8d579d26a49a80af8c5e7f381de355 /tv | |
parent | 7fb1a3e775439d61e054e872dad79f9b6b1ae227 (diff) |
doppelbock: init
Diffstat (limited to 'tv')
-rw-r--r-- | tv/1systems/doppelbock.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tv/1systems/doppelbock.nix b/tv/1systems/doppelbock.nix new file mode 100644 index 000000000..9a8d5b05d --- /dev/null +++ b/tv/1systems/doppelbock.nix @@ -0,0 +1,23 @@ +{ 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 + addr4 = "45.62.237.203"; + in assert config.krebs.build.host.nets.internet.addrs4 == [addr4]; addr4; + prefixLength = 24; + }; + defaultGateway = "45.62.237.1"; + nameservers = ["8.8.8.8"]; + }; +} |