nixos-config/legacy/robi/taskserver.nix

20 lines
541 B
Nix
Raw Normal View History

2021-12-28 16:19:29 +01:00
{ config, lib, pkgs, ... }: {
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";
};
2021-12-29 19:46:20 +01:00
networking.firewall.allowedTCPPorts = [ config.services.taskserver.listenPort ];
networking.firewall.allowedUDPPorts = [ config.services.taskserver.listenPort ];
2022-01-17 11:57:52 +01:00
backup.dirs = [ config.services.taskserver.dataDir ];
2021-12-28 16:19:29 +01:00
}