- Add NVIDIA proprietary driver config to FredOS-Mediaserver hardware (Maxwell/GM206, open=false, modesetting enabled, headless) - Enable hardware.graphics for DRM/KMS infrastructure - Add jellyfin user to video and render groups for device access After deploying, enable NVENC in Jellyfin: Dashboard → Playback → Transcoding → Hardware acceleration: Nvidia NVENC. https://claude.ai/code/session_016jJU8ZtWLSnJQBdbMr5pxK
13 lines
298 B
Nix
13 lines
298 B
Nix
#jellyfin.nix
|
|
{ config, pkgs, lib, ... }:
|
|
{
|
|
config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") {
|
|
# Jellyfin
|
|
services.jellyfin = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
};
|
|
|
|
users.users.jellyfin.extraGroups = [ "media" "video" "render" ];
|
|
};
|
|
}
|