summaryrefslogtreecommitdiffstats
path: root/krebs/1systems/news/config.nix
blob: 290870fcee52dc65cdd5c44d15dbbc6c7aa81c40 (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
{ config, lib, pkgs, ... }:

{
  imports = [
    ../../../krebs
    ../../../krebs/2configs

    ../../../krebs/2configs/ircd.nix
    ../../../krebs/2configs/go.nix

    #### NEWS ####
    ../../../krebs/2configs/ircd.nix
    ../../../krebs/2configs/news.nix
  ];

  krebs.build.host = config.krebs.hosts.news;
  krebs.hosts.news.ssh.privkey.path = "${config.krebs.secret.directory}/ssh.id_ed25519";

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