mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 23:55:37 +00:00
attempt to enable hardware acceleration
This commit is contained in:
parent
79eba7f333
commit
472a2b965c
@ -1,4 +1,4 @@
|
|||||||
{ config, lib, ... }: {
|
{ config, pkgs, lib, ... }: {
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
streamServer = lib.mkOption {
|
streamServer = lib.mkOption {
|
||||||
@ -33,6 +33,12 @@
|
|||||||
"d /var/lib/jellyfin/library 0775 jellyfin jellyfin"
|
"d /var/lib/jellyfin/library 0775 jellyfin jellyfin"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Enable VA-API for hardware transcoding
|
||||||
|
hardware.opengl = {
|
||||||
|
enable = true;
|
||||||
|
extraPackages = [ pkgs.libva ];
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user