nixos-config/machines/chungus/service-taskwarrior.nix
2024-10-09 21:27:44 +09:00

28 lines
566 B
Nix

{
config,
lib,
pkgs,
...
}:
{
healthchecks.closed.retiolum.ports.taskwarrior-webui = [ 8080 ];
virtualisation.oci-containers = {
containers.taskwarrior-webui = {
volumes = [
"/srv2/taskwarrior/taskrc:/.taskrc"
"/srv2/taskwarrior/task:/.task"
];
ports = [
"8080:80"
];
environment.TZ = "Europe/Berlin";
image = "dcsunset/taskwarrior-webui:3";
};
};
networking.firewall.interfaces.wg0.allowedTCPPorts = [ 8080 ];
networking.firewall.interfaces.wg0.allowedUDPPorts = [ 8080 ];
}