stockholm/makefu/1systems/vbob.nix

68 lines
1.3 KiB
Nix
Raw Normal View History

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;
2016-04-17 00:03:15 +00:00
makefu.awesome.modkey = "Mod1";
2015-12-14 13:33:06 +00:00
imports =
[ # Include the results of the hardware scan.
2016-02-15 15:27:11 +00:00
../.
2015-12-14 13:33:06 +00:00
<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;
fileSystems."/nix" = {
device ="/dev/disk/by-label/nixstore";
fsType = "ext4";
};
2016-05-02 14:02:15 +00:00
fileSystems."/var/lib/docker" = {
device ="/dev/disk/by-label/nix-docker";
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-14 13:33:06 +00:00
get
2016-01-18 11:54:03 +00:00
logstash
2016-05-02 14:02:15 +00:00
docker
devpi-web
devpi-client
2015-12-14 16:56:50 +00:00
];
2016-05-02 14:02:15 +00:00
# virtualisation.docker.enable = true;
2015-12-14 13:33:06 +00:00
networking.firewall.allowedTCPPorts = [
25
80
8010
2015-12-14 13:33:06 +00:00
];
krebs.retiolum = {
enable = true;
connectTo = [
2016-05-02 14:02:15 +00:00
"omo"
2015-12-14 13:33:06 +00:00
"gum"
];
};
2016-05-02 14:02:15 +00:00
networking.extraHosts = ''
172.17.20.190 gitlab
172.17.62.27 svbittool01 tool
'';
2015-12-14 13:33:06 +00:00
fileSystems."/media/share" = {
fsType = "vboxsf";
device = "share";
2016-04-16 18:56:21 +00:00
options = [ "rw" "uid=9001" "gid=9001" ];
2015-12-14 13:33:06 +00:00
};
}