From 2e30b4433ab6925104dd95998786ad407f1a3b65 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Tue, 1 Aug 2023 21:19:10 +0200 Subject: [PATCH] add mpv config --- homes/jacek/gui/default.nix | 1 + homes/jacek/gui/mpv.nix | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 homes/jacek/gui/mpv.nix diff --git a/homes/jacek/gui/default.nix b/homes/jacek/gui/default.nix index 9f7363e..7ea2f89 100644 --- a/homes/jacek/gui/default.nix +++ b/homes/jacek/gui/default.nix @@ -4,6 +4,7 @@ _: { ./foot.nix ./gtk.nix ./hypr.nix + ./mpv.nix ./qt.nix ./rofi.nix ./swaylock.nix diff --git a/homes/jacek/gui/mpv.nix b/homes/jacek/gui/mpv.nix new file mode 100644 index 0000000..1bacecc --- /dev/null +++ b/homes/jacek/gui/mpv.nix @@ -0,0 +1,18 @@ +{ + config, + pkgs, + ... +}: { + config = { + programs.mpv = { + enable = true; + config = { + vo = "gpu-next"; + hwdec = "auto"; + gpu-api = "vulkan"; + vulkan-device = "AMD Radeon RX 6800M (RADV NAVI22)"; + volume = 50; + }; + }; + }; +}