God this is annoying...
This commit is contained in:
parent
8fbdfa22f0
commit
f1a02a053e
|
@ -58,10 +58,10 @@ in {
|
||||||
services.immich-machine-learning = {
|
services.immich-machine-learning = {
|
||||||
after = [ "network-online.target" ];
|
after = [ "network-online.target" ];
|
||||||
before = [ "nginx.service" ];
|
before = [ "nginx.service" ];
|
||||||
path = with pkgs; [ docker-compose nvidia-podman coreutils ];
|
path = with pkgs; [ podman-compose nvidia-podman coreutils ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = pkgs.writeShellScript "immich-machine-learning" ''
|
ExecStart = pkgs.writeShellScript "immich-machine-learning" ''
|
||||||
docker-compose -f ${immichMlConfigYaml} up
|
podman-compose -f ${immichMlConfigYaml} up
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue