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

31 lines
555 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 = [
<stockholm/shared>
<stockholm/shared/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;
}