use lib.serviceDependZpool

This commit is contained in:
2025-08-21 05:06:03 -04:00
parent df8a22760c
commit 3557a2e6c8
9 changed files with 12 additions and 0 deletions

View File

@@ -10,6 +10,8 @@
imports = [
(lib.serviceMountDeps "immich-server" [ config.services.immich.mediaLocation ])
(lib.serviceMountDeps "immich-machine-learning" [ config.services.immich.mediaLocation ])
(lib.serviceDependZpool "immich-server" service_configs.zpool_ssds)
(lib.serviceDependZpool "immich-machine-learning" service_configs.zpool_ssds)
];
services.immich = {