God this is annoying...

This commit is contained in:
niten 2024-05-21 19:45:21 -07:00
parent 8fbdfa22f0
commit f1a02a053e
1 changed files with 2 additions and 2 deletions

View File

@ -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
''; '';
}; };
}; };