diff --git a/extra-packages/rofi-bluetooth/default.nix b/extra-packages/rofi-bluetooth/default.nix index df81d2b..b12cd2e 100644 --- a/extra-packages/rofi-bluetooth/default.nix +++ b/extra-packages/rofi-bluetooth/default.nix @@ -17,6 +17,7 @@ stdenvNoCC.mkDerivation { }; nativeBuildInputs = [ makeWrapper ]; + buildInputs = [ bluez rofi-wayland ]; installPhase = '' mkdir -p $out/bin diff --git a/home/programs/mpv.nix b/home/programs/mpv.nix index 11dffd0..a07a26b 100644 --- a/home/programs/mpv.nix +++ b/home/programs/mpv.nix @@ -1,15 +1,22 @@ { pkgs, ... }: { programs.mpv = { enable = true; - package = pkgs.mpv.override { youtubeSupport = true; }; + package = pkgs.mpv.override { youtubeSupport = true; scripts = with pkgs.mpvScripts; [ mpris modernx thumbfast ]; }; config = { + border = "no"; + osc = "no"; cache = "yes"; cache-secs = "120"; hwdec = "auto-safe"; gpu-context = "wayland"; }; defaultProfiles = [ "gpu-hq" ]; - scripts = with pkgs.mpvScripts; [ mpv-webm mpris sponsorblock thumbfast thumbnail ]; + scriptOpts = { + thumbfast = { + network = "yes"; + hwdec = "yes"; + }; + }; }; xdg.desktopEntries = {