diff options
| author | lassulus <lassulus@lassul.us> | 2017-07-11 11:26:24 +0200 |
|---|---|---|
| committer | lassulus <lassulus@lassul.us> | 2017-07-12 19:09:36 +0200 |
| commit | 41d65979c5fa248ba787bc0702cd58e2296088d2 (patch) | |
| tree | 69b03b41707bc10d89cf1a367f8060d3d700b697 /shared/1systems/test-centos6 | |
| parent | e5ab52e4280242507c7919dcd934dd3ba1993e5e (diff) | |
move source config from module system to 1systems/*/source.nix
Diffstat (limited to 'shared/1systems/test-centos6')
| -rw-r--r-- | shared/1systems/test-centos6/config.nix | 30 | ||||
| -rw-r--r-- | shared/1systems/test-centos6/source.nix | 3 |
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"; +} |
