summaryrefslogtreecommitdiffstats
path: root/krebs/1systems/test-all-krebs-modules/config.nix
blob: 2e1b5c1ad182f3bfc04986616e9a6fc5615d4636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{ config, pkgs, lib, ... }:
let
  en = { enable = true;};
in {
  imports = [
    <stockholm/krebs>
    <stockholm/krebs/2configs>
  ];
  krebs = {
    enable = true;
    build.user = config.krebs.users.krebs;
    build.host = config.krebs.hosts.test-all-krebs-modules;
    Reaktor.test = {};
    apt-cacher-ng.enable = true;
    backup.enable = true;
    bepasty.enable = true;
    # FIXME fast-tests / instantiate-test-all-modules fails at wolfbot
    # http://wolf:8010/builders/fast-tests/builds/442
    #buildbot.master.enable = true;
    buildbot.slave = {
      enable = true;
      username = "lol";
      password = "wut";
    };
    # XXX exim-retiolum and exim-smarthost are mutually exclusive
    #exim-retiolum = {
    #  enable = true;
    #  primary_hostname = "test.r";
    #};
    exim-smarthost = {
      enable = true;
      primary_hostname = "test.r";
      system-aliases = [ { from = "dick"; to = "butt"; } ];
    };
    go.enable = true;
    iptables = {
      enable = true;
      tables = {};
    };
    realwallpaper.enable = true;
    tinc.retiolum.enable = true;
    retiolum-bootstrap.enable = true;
    tinc_graphs.enable = true;
    urlwatch.enable = true;
    fetchWallpaper = {
      enable = true;
      url ="localhost";
    };
  };
  # just get the system running
  boot.loader.grub.devices = ["/dev/sda"];
  fileSystems."/" = {
    device = "/dev/lol";
  };
}