hw accel on mpv
This commit is contained in:
parent
5cac1c2482
commit
c22b92f412
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,10 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
hm.programs.mpv = {
|
hm.programs.mpv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
config = {
|
||||||
|
hwdec = "auto";
|
||||||
|
};
|
||||||
|
|
||||||
scripts = with pkgs.mpvScripts; [
|
scripts = with pkgs.mpvScripts; [
|
||||||
mpris
|
mpris
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue