Use mpv with hardware acceleration
This commit is contained in:
parent
d47a0f61f5
commit
e26dce596e
3 changed files with 18 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
|||
image-vector = [ "org.inkscape.Inkscape.desktop" ];
|
||||
ebooks = [ "calibre-ebook-viewer.desktop" ];
|
||||
code-general = [ "codium.desktop" ];
|
||||
video = [ "vlc.desktop" ];
|
||||
video = [ "mpv.desktop" ];
|
||||
compression = [ "org.gnome.Nautilus.desktop" ];
|
||||
in {
|
||||
"text/html" = browser;
|
||||
|
|
|
@ -1,6 +1,17 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
config = {
|
||||
hwdec = "auto-safe";
|
||||
vo = "gpu";
|
||||
gpu-context = "wayland";
|
||||
force-window = true;
|
||||
profile = "gpu-hq";
|
||||
};
|
||||
};
|
||||
home.packages = with pkgs;
|
||||
[ vlc v4l-utils playerctl yt-dlp ] ++ [ # Audio
|
||||
gnome.gnome-sound-recorder
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue