nixos-config/nixos/machines/orbi/service-taskserver.nix
Ingolf Wagner a6f69fe866
last fixes
2024-06-03 20:49:32 +02:00

18 lines
544 B
Nix

{ config, lib, pkgs, factsGenerator, ... }: {
# todo: backup taskserver via zfs syncoid
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 ];
}