Watch : Add a proper gpu device.
This commit is contained in:
parent
1f2e07e9ce
commit
f7df5736c1
|
@ -63,11 +63,16 @@ in {
|
||||||
allowedDevices = [
|
allowedDevices = [
|
||||||
{
|
{
|
||||||
modifier = "rwm";
|
modifier = "rwm";
|
||||||
node = "/dev/dri";
|
node = "/dev/dri/renderD128";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
config = { ... }: container.mkContainerConfig cfg {
|
config = { ... }: container.mkContainerConfig cfg {
|
||||||
|
# users.users.jellyfin.extraGroups = [
|
||||||
|
# "video"
|
||||||
|
# "render"
|
||||||
|
# ];
|
||||||
|
|
||||||
services.jellyfin = {
|
services.jellyfin = {
|
||||||
enable = true;
|
enable = true;
|
||||||
cacheDir = "/var/cache/jellyfin";
|
cacheDir = "/var/cache/jellyfin";
|
||||||
|
|
Loading…
Reference in a new issue