news.r: move into sync-containers3
This commit is contained in:
parent
66586d70be
commit
b1b4fedb1d
@ -17,13 +17,8 @@
|
|||||||
|
|
||||||
boot.isContainer = true;
|
boot.isContainer = true;
|
||||||
networking.useDHCP = lib.mkForce true;
|
networking.useDHCP = lib.mkForce true;
|
||||||
krebs.bindfs = {
|
krebs.sync-containers3.inContainer = {
|
||||||
"/var/lib/brockman" = {
|
enable = true;
|
||||||
source = "/var/state/brockman";
|
pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMBVZomw68WDQy0HsHhNbWK1KpzaR5aRUG1oioE7IgCv";
|
||||||
options = [
|
|
||||||
"-m ${toString config.users.users.brockman.uid}:${toString config.users.users.nginx.uid}"
|
|
||||||
];
|
|
||||||
clearTarget = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,5 @@
|
|||||||
{
|
{
|
||||||
krebs.sync-containers.containers.news = {
|
krebs.sync-containers3.containers.news = {
|
||||||
peers = [
|
sshKey = "${toString <secrets>}/news.sync.key";
|
||||||
"shodan"
|
|
||||||
"mors"
|
|
||||||
"styx"
|
|
||||||
];
|
|
||||||
format = "plain";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -74,7 +74,7 @@
|
|||||||
limits.identlen = 100;
|
limits.identlen = 100;
|
||||||
history.enabled = false;
|
history.enabled = false;
|
||||||
};
|
};
|
||||||
systemd.services.brockman.bindsTo = [ "ergo.service" ];
|
systemd.services.brockman.bindsTo = [ "ergochat.service" ];
|
||||||
systemd.services.brockman.serviceConfig.LimitNOFILE = 16384;
|
systemd.services.brockman.serviceConfig.LimitNOFILE = 16384;
|
||||||
systemd.services.brockman.environment.BROCKMAN_LOG_LEVEL = "DEBUG";
|
systemd.services.brockman.environment.BROCKMAN_LOG_LEVEL = "DEBUG";
|
||||||
krebs.brockman = {
|
krebs.brockman = {
|
||||||
@ -87,6 +87,7 @@
|
|||||||
nick = "brockman";
|
nick = "brockman";
|
||||||
extraChannels = [ "#all" ];
|
extraChannels = [ "#all" ];
|
||||||
};
|
};
|
||||||
|
statePath = "/var/state/brockman/brockman.json";
|
||||||
bots = {};
|
bots = {};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user