nixos-config/machines/chungus/service-taskwarrior.nix

27 lines
498 B
Nix
Raw Normal View History

{
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 ];
}