From 119afcf39385107f4ee59c47950f59a9611d5015 Mon Sep 17 00:00:00 2001 From: Colin Date: Sun, 11 Aug 2024 22:37:12 +0000 Subject: [PATCH] firefox: remove open-in-mpv (obsoleted by firefox-xdg-open) --- hosts/common/programs/firefox.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hosts/common/programs/firefox.nix b/hosts/common/programs/firefox.nix index d503e4b8d..3d82912cf 100644 --- a/hosts/common/programs/firefox.nix +++ b/hosts/common/programs/firefox.nix @@ -232,6 +232,7 @@ in enable = lib.mkDefault false; # until i can disable the first-run notification }; firefox-xdg-open = { + # test: `xdg-open xdg-open:https://uninsane.org` package = pkgs.firefox-extensions.firefox-xdg-open; enable = lib.mkDefault true; }; @@ -246,7 +247,7 @@ in open-in-mpv = { # test: `open-in-mpv 'mpv:///open?url=https://www.youtube.com/watch?v=dQw4w9WgXcQ'` package = pkgs.firefox-extensions.open-in-mpv; - enable = lib.mkDefault config.sane.programs.open-in-mpv.enabled; + enable = lib.mkDefault false; }; sidebery = { package = pkgs.firefox-extensions.sidebery; @@ -301,8 +302,9 @@ in ]; fs.".config/sops".dir = lib.mkIf cfg.addons.browserpass-extension.enable {}; #< needs to be created, not *just* added to the sandbox - suggestedPrograms = [ + suggestedPrograms = lib.optionals cfg.addons.firefox-xdg-open.enable [ "firefox-xdg-open" + ] ++ lib.optionals cfg.addons.open-in-mpv.enable [ "open-in-mpv" ];