2021-01-24 15:32:30 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
<stockholm/krebs>
|
|
|
|
<stockholm/krebs/2configs>
|
|
|
|
|
|
|
|
<stockholm/krebs/2configs/ircd.nix>
|
|
|
|
<stockholm/krebs/2configs/go.nix>
|
|
|
|
|
|
|
|
#### NEWS ####
|
|
|
|
<stockholm/krebs/2configs/ircd.nix>
|
|
|
|
<stockholm/krebs/2configs/news.nix>
|
|
|
|
];
|
|
|
|
|
|
|
|
krebs.build.host = config.krebs.hosts.news;
|
|
|
|
|
|
|
|
boot.isContainer = true;
|
2022-10-23 16:27:05 +00:00
|
|
|
networking.useDHCP = lib.mkForce true;
|
2021-01-24 15:32:30 +00:00
|
|
|
krebs.bindfs = {
|
|
|
|
"/var/lib/brockman" = {
|
|
|
|
source = "/var/state/brockman";
|
|
|
|
options = [
|
2021-01-25 17:48:05 +00:00
|
|
|
"-m ${toString config.users.users.brockman.uid}:${toString config.users.users.nginx.uid}"
|
2021-01-24 15:32:30 +00:00
|
|
|
];
|
|
|
|
clearTarget = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|