tgbot-send

This commit is contained in:
bogale 2026-09-24 23:31:00 +09:00
commit f88232875e
3 changed files with 64 additions and 40 deletions

View file

@ -23,7 +23,10 @@
panicOnChecksumMismatch = true;
};
};
users.users.root.hashedPasswordFile = "/secrets/root.passwd";
users = {
groups.secrets.gid = 1578;
users.root.hashedPasswordFile = "/secrets/user-root-pw";
};
networking = {
firewall = {
allowedTCPPorts = [ 53 80 ];
@ -48,6 +51,7 @@
};
};
environment.systemPackages = with pkgs; [
jq
sbctl
];
services = {
@ -65,7 +69,7 @@
settings = {
enable-ra = true;
no-resolv = true;
cache-size = 8192;
cache-size = 4096;
bogus-priv = true;
enable-tftp = true;
interface = "enp1s0";