stockholm/krebs/1systems/test-centos6/config.nix

32 lines
584 B
Nix
Raw Normal View History

2015-10-20 23:32:44 +00:00
{ config, lib, pkgs, ... }:
let
inherit (lib) head;
ip = "168.235.148.52";
2015-11-13 12:05:19 +00:00
gw = "168.235.148.1";
2015-10-20 23:32:44 +00:00
in {
imports = [
2017-07-13 22:17:58 +00:00
<stockholm/krebs>
<stockholm/krebs/2configs>
<stockholm/krebs/2configs/os-templates/CAC-CentOS-6.5-64bit.nix>
2015-10-20 23:32:44 +00:00
{
networking.interfaces.enp11s0.ip4 = [
{
address = ip;
prefixLength = 24;
}
];
2015-11-13 12:05:19 +00:00
networking.defaultGateway = gw;
2015-10-20 23:32:44 +00:00
networking.nameservers = [
"8.8.8.8"
];
}
{
sound.enable = false;
}
];
krebs.build.host = config.krebs.hosts.test-centos6;
}