Compare commits

...
2 Commits
Author SHA1 Message Date
ari 39fc85e8f9 latest nbot 2026-11-07 10:51:47 -05:00
ari 088de60af5 cleaning up old bots 2026-11-07 10:50:23 -05:00
3 changed files with 4 additions and 13 deletions

No files matched your search

Generated
+4 -4
View File
@@ -2204,11 +2204,11 @@
]
},
"locked": {
"lastModified": 1794057087,
"narHash": "sha256-UlrEHt0pFD2AXuleAKUmf6lD2Pih8+jCbxWxpEz05LA=",
"lastModified": 1794064078,
"narHash": "sha256-r7v7yZYBLXUpJwcAP5paInhNFnK7d7kw5ceK/p9WrBE=",
"ref": "refs/heads/main",
"rev": "a6451cb0fa240d23f280c991d3d21e2784618b42",
"revCount": 652,
"rev": "04ade8b2b4107412120c56d921f098aa9d355b36",
"revCount": 654,
"type": "git",
"url": "ssh://git@github.com/asosnovsky/nbot.git"
},
-5
View File
@@ -15,7 +15,6 @@ let
allow_indefinite = true;
boot_timeout = "2m";
# Summaries are always on now; only the model and its timeout are set.
summaries = {
timeout = "10s";
};
@@ -92,9 +91,6 @@ let
max_container = { memory_mb = 16384; cpus = 4; };
host_reserve = { memory_mb = 32768; cpus = 4.0; };
storage = { min = "2G"; max = "5G"; limit = "20G"; };
# allow_subdir: the folder is a plain folder on the /data disk. The unit
# waits for that disk (services.nbot.drives), which is what the check in
# nbot is for.
drives = [{ path = homes; reserve = "40G"; allow_subdir = true; }];
cluster = {
@@ -121,7 +117,6 @@ in
enable = true;
mode = "master";
clusterPort = ports.cluster;
# The unit waits for these mounts before it starts.
drives = [ homes ];
stateDir = "/var/lib/nbot";
configFile = (pkgs.formats.toml { }).generate "nbot.toml" settings;
-4
View File
@@ -17,7 +17,6 @@ let
max_container = { memory_mb = 51200; cpus = 6; };
host_reserve = { memory_mb = 8192; cpus = 2.0; };
storage = { min = "2G"; max = "10G"; limit = "50G"; };
# allow_subdir: the folder is a plain folder on the root disk.
drives = [{ path = homes; reserve = "200G"; allow_subdir = true; }];
# Worker of the master on fwdesk. Slack tokens and goose settings come
@@ -26,8 +25,6 @@ let
cluster = {
name = "hl-fws1";
master = "wss://fwdesk.lab.internal:7946";
# A list, so the master's certificate can be rotated with no time where
# a slave refuses the master: add the new fingerprint, then drop the old.
master_fingerprint = [ "ce08c6b0f3aec855cc8b936d81449c1a34074d181089b26acbdddacfca60af1d" ];
};
};
@@ -43,7 +40,6 @@ in
services.nbot = {
enable = true;
mode = "slave";
# The unit waits for these mounts before it starts.
drives = [ homes ];
stateDir = "/var/lib/nbot";
configFile = (pkgs.formats.toml { }).generate "nbot.toml" settings;