28 lines
566 B
Nix
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 ];
|
|
|
|
}
|