nixos-config/configs/workhorse/taskserver.nix

17 lines
374 B
Nix
Raw Normal View History

2019-12-20 05:54:26 +01:00
{ config, lib, pkgs, ... }: {
2019-10-24 02:20:38 +02:00
services.taskserver = {
enable = true;
2021-03-14 04:52:33 +01:00
fqdn = "taskd.ingolf-wagner.de";
2019-10-24 02:20:38 +02:00
listenHost = "0.0.0.0";
requestLimit = 104857600;
2021-03-14 04:52:33 +01:00
trust = "strict";
2019-10-24 02:20:38 +02:00
dataDir = "/var/lib/taskserver";
2021-03-14 04:52:33 +01:00
organisations."1337".users = [ "palo" "beta" ];
ciphers = "SECURE256";
2019-10-24 02:20:38 +02:00
};
2021-01-10 03:59:23 +01:00
backup.dirs = [ config.services.taskserver.dataDir ];
2021-01-08 18:09:03 +01:00
2019-10-24 02:20:38 +02:00
}