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

19 lines
528 B
Nix
Raw Normal View History

2024-06-07 09:42:26 +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";
organisations."1337".users = [ "palo" "beta" ];
ciphers = "SECURE256";
};
networking.firewall.allowedTCPPorts = [ config.services.taskserver.listenPort ];
networking.firewall.allowedUDPPorts = [ config.services.taskserver.listenPort ];
}