Initial commit of TaskWarrio

This commit is contained in:
Serĉanto de Scio 2019-12-09 16:25:40 +10:00
parent 277272f923
commit 308f4f95e5
Signed by: sercanto
GPG key ID: A4122FF3971B6865

41
roles/taskserver.nix Normal file
View file

@ -0,0 +1,41 @@
# NixOps configuration for the hosts running a Taskwarrior server (taskd)
{ config, pkgs, lib, ... }:
{
services.taskserver = {
enable = true; # Enable Taskwarrior server
fqdn = "task.mcwhirter.io"; # Server's public domain name
listenHost = "task.mcwhirter.io"; # Sets listening IP & opens firewall
organisations = {
teaghlach = {
groups = [
"teaghlach"
];
users = [
"craige"
"fiona"
];
};
sgioba = {
groups = [
"sgioba"
];
users = [
"craige"
];
};
obair = {
groups = [
"obair"
];
users = [
"craige"
"disasm"
];
};
};
};
}