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,17 @@
config,
service_configs,
username,
serviceMountDeps,
...
}:
{
imports = [
(serviceMountDeps "jellyfin" [
config.services.jellyfin.dataDir
config.services.jellyfin.cacheDir
])
];
environment.systemPackages = with pkgs; [
jellyfin
jellyfin-web
@@ -37,6 +45,7 @@
"video"
"render"
service_configs.torrent_group
"media"
];
users.users.${username}.extraGroups = [