Use mpv with hardware acceleration
This commit is contained in:
parent
d47a0f61f5
commit
e26dce596e
3 changed files with 18 additions and 2 deletions
|
@ -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