diff options
author | makefu <github@syntax-fehler.de> | 2017-07-23 21:11:11 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2017-07-23 21:11:11 +0200 |
commit | 1e3931d983127bb2cf5fc93471bacfc9770e5b08 (patch) | |
tree | 9308da0abd27ad72547bc765e9a4100ccc71630b /tv/1systems/caxi | |
parent | fd7d1531acd5345136dad71bdcd1050176d88cd6 (diff) | |
parent | 1bf9e1e1eea95ea9efeb72a48e19a6df11881a7f (diff) |
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'tv/1systems/caxi')
-rw-r--r-- | tv/1systems/caxi/config.nix | 25 | ||||
-rw-r--r-- | tv/1systems/caxi/source.nix | 3 |
2 files changed, 0 insertions, 28 deletions
diff --git a/tv/1systems/caxi/config.nix b/tv/1systems/caxi/config.nix deleted file mode 100644 index b136d1ade..000000000 --- a/tv/1systems/caxi/config.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ config, ... }: - -with import <stockholm/lib>; - -{ - krebs.build.host = config.krebs.hosts.caxi; - - imports = [ - <stockholm/tv> - <stockholm/tv/2configs/hw/CAC-Developer-1.nix> - <stockholm/tv/2configs/fs/CAC-CentOS-7-64bit.nix> - <stockholm/tv/2configs/retiolum.nix> - ]; - - networking = let - inherit (config.krebs.build.host.nets.internet) ip4; - in { - interfaces.enp2s1.ip4 = singleton { - address = ip4.addr; - prefixLength = fromJSON (head (match ".*/([0-9]+)" ip4.prefix)); - }; - defaultGateway = head (match "([^/]*)\.0/[0-9]+" ip4.prefix) + ".1"; - nameservers = ["8.8.8.8"]; - }; -} diff --git a/tv/1systems/caxi/source.nix b/tv/1systems/caxi/source.nix deleted file mode 100644 index bc875b768..000000000 --- a/tv/1systems/caxi/source.nix +++ /dev/null @@ -1,3 +0,0 @@ -import <stockholm/tv/source.nix> { - name = "caxi"; -} |