add podman compose

This commit is contained in:
2025-10-12 19:01:52 -05:00
parent cd55d1d7cf
commit 39c108b3ee
4 changed files with 8 additions and 4 deletions

View File

@@ -49,7 +49,7 @@ in
uid = lib.mkForce cfg.ids;
isSystemUser = true;
home = cfg.data_dir;
# createHome = true;
createHome = true;
group = "${service}";
extraGroups = [ "media" ];
};
@@ -64,7 +64,7 @@ in
server = {
port = cfg.port;
downloadAsCbz = true;
# localSourcePath = cfg.data_dir;
localSourcePath = cfg.data_dir;
};
};
};

View File

@@ -9,6 +9,10 @@ in
};
config = lib.mkIf cfg.enable {
# install the binary for compose
environment.systemPackages = with pkgs; [ podman-compose ];
virtualisation = {
oci-containers.backend = "podman";
podman = {