diff --git a/amd-gpu.nix b/amd-gpu.nix index 8896ae1..2d04595 100755 --- a/amd-gpu.nix +++ b/amd-gpu.nix @@ -12,8 +12,9 @@ rocmPackages.clr.icd rocm-opencl-icd rocm-opencl-runtime + # TODO: Seems to not be working, VP8 and HVEC don't worky + #libva libvdpau-va-gl - vaapiVdpau ]; }; diff --git a/configuration.nix b/configuration.nix index c6680df..4b97fe3 100755 --- a/configuration.nix +++ b/configuration.nix @@ -32,6 +32,7 @@ in { ./graphical/firefox.nix ./graphical/spotify.nix ./graphical/ags/ags.nix + ./graphical/mpv.nix ./amd-gpu.nix ./misc/udev.nix ./misc/ntp.nix diff --git a/graphical/mpv.nix b/graphical/mpv.nix new file mode 100644 index 0000000..375c22d --- /dev/null +++ b/graphical/mpv.nix @@ -0,0 +1,11 @@ +{...}: let + global = import ../global-var.nix; +in { + home-manager.users.${global.username} = {...}: { + home.file = { + "~/.config/mpv/mpv.conf".text = '' + hwdec=auto + ''; + }; + }; +}