summaryrefslogtreecommitdiffstats
path: root/krebs/1systems/hotdog/config.nix
blob: d5e3e7d876ef8a2626cc176a03f376c310c147ce (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
{ config, lib, pkgs, stockholm ? { outPath = <stockholm>; lib = <stockholm/lib> {}; }, ... }:

{
  imports = [
    (stockholm.outPath + "/krebs")
    (stockholm.outPath + "/krebs/2configs")

    (stockholm.outPath + "/krebs/2configs/buildbot-stockholm.nix")
    (stockholm.outPath + "/krebs/2configs/binary-cache/nixos.nix")
    (stockholm.outPath + "/krebs/2configs/ircd.nix")
    (stockholm.outPath + "/krebs/2configs/reaktor2.nix")
    (stockholm.outPath + "/krebs/2configs/wiki.nix")
    (stockholm.outPath + "/krebs/2configs/acme.nix")
    (stockholm.outPath + "/krebs/2configs/mud.nix")
    (stockholm.outPath + "/krebs/2configs/repo-sync.nix")

    (stockholm.outPath + "/krebs/2configs/cal.nix")
    (stockholm.outPath + "/krebs/2configs/mastodon.nix")

    ## (shackie irc bot
    (stockholm.outPath + "/krebs/2configs/shack/reaktor.nix")
  ];

  krebs.build.host = config.krebs.hosts.hotdog;
  krebs.pages.enable = true;

  boot.isContainer = true;
  networking.useDHCP = false;
  krebs.sync-containers3.inContainer = {
    enable = true;
    pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM20tYHHvwIgrJZzR35ATzH9AlTrM1enNKEQJ7IP6lBh";
  };
}