nixos-config/machines/orbi/service-taskserver.nix

28 lines
552 B
Nix
Raw Normal View History

2024-08-29 03:26:04 +02:00
{
config,
lib,
pkgs,
...
}:
{
2023-12-09 17:15:50 +01:00
2024-06-03 20:49:32 +02:00
# todo: backup taskserver via zfs syncoid
2023-12-09 17:15:50 +01:00
services.taskserver = {
enable = true;
fqdn = "taskd.ingolf-wagner.de";
listenHost = "0.0.0.0";
requestLimit = 104857600;
trust = "strict";
dataDir = "/var/lib/taskserver";
2024-08-29 03:26:04 +02:00
organisations."1337".users = [
"palo"
"beta"
];
2023-12-09 17:15:50 +01:00
ciphers = "SECURE256";
};
networking.firewall.allowedTCPPorts = [ config.services.taskserver.listenPort ];
networking.firewall.allowedUDPPorts = [ config.services.taskserver.listenPort ];
}