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 | 95647352b58512d18aad196bfef1b4cc5aca9416 (patch) | |
tree | c30d94998e091804b18272fcd4258e0dbac57dea /tv/1systems | |
parent | c4c4efa9b0ee14704bba4daabf4d87b804704848 (diff) |
doppelbock: init
Diffstat (limited to 'tv/1systems')
-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 0000000..9a8d5b0 --- /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"]; + }; +} |