summaryrefslogtreecommitdiffstats
path: root/shared/1systems/test-centos6
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-07-13 00:37:54 +0200
committertv <tv@krebsco.de>2017-07-13 00:37:54 +0200
commit4619fbb9c29572ba7fa810f33c13680ea4785eae (patch)
tree6d64d5a2c9f2995d599761a6da4a8027433a8846 /shared/1systems/test-centos6
parent8572b17d3075e5c923d980685df3b212a85cfe15 (diff)
parent2917aa030a7afa95bb48ba5962d6c8daece5f708 (diff)
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'shared/1systems/test-centos6')
-rw-r--r--shared/1systems/test-centos6/config.nix30
-rw-r--r--shared/1systems/test-centos6/source.nix3
2 files changed, 33 insertions, 0 deletions
diff --git a/shared/1systems/test-centos6/config.nix b/shared/1systems/test-centos6/config.nix
new file mode 100644
index 0000000..a81ff7c
--- /dev/null
+++ b/shared/1systems/test-centos6/config.nix
@@ -0,0 +1,30 @@
+{ config, lib, pkgs, ... }:
+
+let
+ inherit (lib) head;
+
+ ip = "168.235.148.52";
+ gw = "168.235.148.1";
+in {
+ imports = [
+ <stockholm/shared>
+ <stockholm/shared/2configs/os-templates/CAC-CentOS-6.5-64bit.nix>
+ {
+ networking.interfaces.enp11s0.ip4 = [
+ {
+ address = ip;
+ prefixLength = 24;
+ }
+ ];
+ networking.defaultGateway = gw;
+ networking.nameservers = [
+ "8.8.8.8"
+ ];
+ }
+ {
+ sound.enable = false;
+ }
+ ];
+
+ krebs.build.host = config.krebs.hosts.test-centos6;
+}
diff --git a/shared/1systems/test-centos6/source.nix b/shared/1systems/test-centos6/source.nix
new file mode 100644
index 0000000..0c7c78e
--- /dev/null
+++ b/shared/1systems/test-centos6/source.nix
@@ -0,0 +1,3 @@
+import <stockholm/shared/source.nix> {
+ name = "test-centos6";
+}