hosts/library: extract jellyfin config
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m15s

This commit is contained in:
2025-06-02 22:54:54 +01:00
parent 2a395d5efb
commit 471c46d4cb
2 changed files with 34 additions and 19 deletions

View File

@ -0,0 +1,30 @@
{
config,
pkgs,
...
}:
{
hardware.graphics = {
enable = true;
extraPackages = with pkgs; [
vaapiVdpau
];
};
users.users.jellyfin.extraGroups = [
"video"
"render"
];
services.jellyfin = {
enable = true;
package = pkgs.unstable.jellyfin;
cacheDir = "/var/cache/jellyfin";
dataDir = "/var/lib/jellyfin";
};
modules.services.borgmatic.directories = [
config.services.jellyfin.dataDir
];
}