updated komga

This commit is contained in:
2026-09-19 20:20:57 +01:00
parent df0e38125e
commit 076f8ef4b4

View File

@@ -1,8 +1,7 @@
{moduleWithSystem, ...}: {
flake.nixosModules.containerKomga = moduleWithSystem ({pkgs, ...}: {
virtualisation.oci-containers.containers."komga" = {
image = "gotson/komga";
image = "gotson/komga:1.26.1";
volumes = [
"/containers/komga/config:/config:rw"
"/etc/timezone:/etc/timezone:ro"
@@ -37,7 +36,7 @@
# Networks
systemd.services."podman-network-komga_default" = {
path = [ pkgs.podman ];
path = [pkgs.podman];
serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;
@@ -46,8 +45,8 @@
script = ''
podman network inspect komga_default || podman network create komga_default
'';
partOf = [ "podman-compose-komga-root.target" ];
wantedBy = [ "podman-compose-komga-root.target" ];
partOf = ["podman-compose-komga-root.target"];
wantedBy = ["podman-compose-komga-root.target"];
};
# Root service
@@ -57,7 +56,7 @@
unitConfig = {
Description = "Root target generated by compose2nix.";
};
wantedBy = [ "multi-user.target" ];
wantedBy = ["multi-user.target"];
};
});
}