summaryrefslogtreecommitdiffstats
path: root/krebs/1systems/hotdog/config.nix
blob: 3eb7b9aa15726ce36e2063a05b20d9ae0a347035 (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
# Edit this configuration file to define what should be installed on
# your system.  Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).

{ config, lib, pkgs, ... }:

{
  imports = [
    <stockholm/krebs>
    <stockholm/krebs/2configs>

    <stockholm/krebs/2configs/buildbot-all.nix>
  ];

  krebs.build.host = config.krebs.hosts.hotdog;

  boot.isContainer = true;
  networking.useDHCP = false;
  krebs.repo-sync.repos.stockholm.timerConfig = {
    OnBootSec = "5min";
    OnUnitInactiveSec = "2min";
    RandomizedDelaySec = "2min";
  };
}