nixos-config/configs/workhorse/taskserver.nix
2021-01-10 05:47:44 +01:00

15 lines
339 B
Nix

{ config, lib, pkgs, ... }: {
services.taskserver = {
enable = true;
fqdn = "workhorse.private";
listenHost = "0.0.0.0";
requestLimit = 104857600;
trust = "allow all";
dataDir = "/var/lib/taskserver";
organisations."orgie".users = [ "palo" ];
};
backup.dirs = [ config.services.taskserver.dataDir ];
}