add serviceMountDeps

This commit is contained in:
2025-03-22 20:46:55 -04:00
parent 9a45c808fd
commit f3fe629666
7 changed files with 46 additions and 0 deletions

View File

@@ -3,9 +3,14 @@
pkgs,
config,
username,
serviceMountDeps,
...
}:
{
imports = [
(serviceMountDeps "immich" [ config.services.immich.mediaLocation ])
];
services.immich = {
enable = true;
mediaLocation = service_configs.immich.dir;