Switch to nvidia-podman

This commit is contained in:
niten 2024-05-21 17:19:43 -07:00
parent 37b9b58ab1
commit 60884d1029
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ 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; [ podman-compose coreutils podman ]; path = with pkgs; [ podman-compose coreutils nvidia-podman ];
serviceConfig = { serviceConfig = {
ExecStart = pkgs.writeShellScript "immich-machine-learning" '' ExecStart = pkgs.writeShellScript "immich-machine-learning" ''
podman-compose -f ${immichMlConfigYaml} up podman-compose -f ${immichMlConfigYaml} up