nixos-config/machines/chungus/service-taskwarrior.nix
Ingolf Wagner 347acf7e6e
🚧 working on taskwarrior-webui
It can't use wireguard to access stuff, so we will put it on orbi behind an nginx
2024-09-08 11:29:47 +07:00

26 lines
498 B
Nix

{
config,
lib,
pkgs,
...
}:
{
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 ];
}