add podman compose
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user