2015-12-14 13:33:06 +00:00
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
2015-12-14 16:56:50 +00:00
|
|
|
{ lib, config, pkgs, ... }:
|
2016-01-18 11:54:03 +00:00
|
|
|
{
|
2015-12-14 13:33:06 +00:00
|
|
|
krebs.build.host = config.krebs.hosts.vbob;
|
|
|
|
imports =
|
|
|
|
[ # Include the results of the hardware scan.
|
|
|
|
<nixpkgs/nixos/modules/virtualisation/virtualbox-image.nix>
|
|
|
|
../2configs/main-laptop.nix #< base-gui
|
|
|
|
|
|
|
|
# environment
|
2015-12-14 16:56:50 +00:00
|
|
|
|
2015-12-14 13:33:06 +00:00
|
|
|
];
|
2016-01-18 11:54:03 +00:00
|
|
|
nixpkgs.config.allowUnfree = true;
|
2015-12-16 13:30:21 +00:00
|
|
|
nixpkgs.config.packageOverrides = pkgs: {
|
|
|
|
tinc = pkgs.tinc_pre;
|
|
|
|
};
|
|
|
|
|
2016-02-04 10:16:17 +00:00
|
|
|
krebs.build.source.nixpkgs = {
|
|
|
|
# url = https://github.com/nixos/nixpkgs;
|
2016-01-18 11:54:03 +00:00
|
|
|
# HTTP Everywhere + libredir
|
|
|
|
rev = "8239ac6";
|
2015-12-16 11:23:55 +00:00
|
|
|
};
|
|
|
|
fileSystems."/nix" = {
|
|
|
|
device ="/dev/disk/by-label/nixstore";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
#makefu.buildbot.master.enable = true;
|
2015-12-14 16:56:50 +00:00
|
|
|
# allow vbob to deploy self
|
|
|
|
users.extraUsers = {
|
|
|
|
root = {
|
|
|
|
openssh.authorizedKeys.keys = [ config.krebs.users.makefu-vbob.pubkey ];
|
|
|
|
};
|
|
|
|
};
|
2015-12-14 13:33:06 +00:00
|
|
|
environment.systemPackages = with pkgs;[
|
2016-01-18 11:54:03 +00:00
|
|
|
fortclientsslvpn
|
2015-12-16 13:30:21 +00:00
|
|
|
buildbot
|
|
|
|
buildbot-slave
|
2015-12-14 13:33:06 +00:00
|
|
|
get
|
2016-01-18 11:54:03 +00:00
|
|
|
genid
|
|
|
|
logstash
|
2015-12-14 16:56:50 +00:00
|
|
|
];
|
2015-12-14 13:33:06 +00:00
|
|
|
|
|
|
|
networking.firewall.allowedTCPPorts = [
|
|
|
|
25
|
|
|
|
80
|
2015-12-16 16:53:35 +00:00
|
|
|
8010
|
2015-12-14 13:33:06 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
krebs.retiolum = {
|
|
|
|
enable = true;
|
|
|
|
extraConfig = "Proxy = http global.proxy.alcatel-lucent.com 8000";
|
|
|
|
connectTo = [
|
|
|
|
"gum"
|
|
|
|
];
|
|
|
|
};
|
2015-12-16 11:23:55 +00:00
|
|
|
|
2015-12-14 13:33:06 +00:00
|
|
|
networking.proxy.default = "http://global.proxy.alcatel-lucent.com:8000";
|
|
|
|
fileSystems."/media/share" = {
|
|
|
|
fsType = "vboxsf";
|
|
|
|
device = "share";
|
|
|
|
options = "rw,uid=9001,gid=9001";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
2015-12-16 11:23:55 +00:00
|
|
|
|