firefox: comment out a few extensions i never use
This commit is contained in:
@@ -5,17 +5,17 @@ in
|
||||
{
|
||||
sane.programs.firefox = {
|
||||
config.addons = {
|
||||
fxCast = {
|
||||
# add a menu to cast to chromecast devices, but it doesn't seem to work very well.
|
||||
# right click (or shift+rc) a video, then select "cast".
|
||||
# - asciinema.org: icon appears, but glitches when clicked.
|
||||
# - youtube.com: no icon appears, even when site is whitelisted.
|
||||
# future: maybe better to have browser open all videos in mpv, and then use mpv for casting.
|
||||
# see e.g. `ff2mpv`, `open-in-mpv` (both are packaged in nixpkgs)
|
||||
package = pkgs.firefox-extensions.fx_cast;
|
||||
nativeMessagingHosts = [ pkgs.fx-cast-bridge ];
|
||||
enable = lib.mkDefault false;
|
||||
};
|
||||
# fxCast = {
|
||||
# # add a menu to cast to chromecast devices, but it doesn't seem to work very well.
|
||||
# # right click (or shift+rc) a video, then select "cast".
|
||||
# # - asciinema.org: icon appears, but glitches when clicked.
|
||||
# # - youtube.com: no icon appears, even when site is whitelisted.
|
||||
# # future: maybe better to have browser open all videos in mpv, and then use mpv for casting.
|
||||
# # see e.g. `ff2mpv`, `open-in-mpv` (both are packaged in nixpkgs)
|
||||
# package = pkgs.firefox-extensions.fx_cast;
|
||||
# nativeMessagingHosts = [ pkgs.fx-cast-bridge ];
|
||||
# enable = lib.mkDefault false;
|
||||
# };
|
||||
browserpass-extension = {
|
||||
package = pkgs.firefox-extensions.browserpass-extension;
|
||||
nativeMessagingHosts = [ pkgs.browserpass ];
|
||||
@@ -25,10 +25,10 @@ in
|
||||
package = pkgs.firefox-extensions.bypass-paywalls-clean;
|
||||
enable = lib.mkDefault true;
|
||||
};
|
||||
ctrl-shift-c-should-copy = {
|
||||
package = pkgs.firefox-extensions.ctrl-shift-c-should-copy;
|
||||
enable = lib.mkDefault false; # prefer patching firefox source code, so it works in more places
|
||||
};
|
||||
# ctrl-shift-c-should-copy = {
|
||||
# package = pkgs.firefox-extensions.ctrl-shift-c-should-copy;
|
||||
# enable = lib.mkDefault false; # prefer patching firefox source code, so it works in more places
|
||||
# };
|
||||
ether-metamask = {
|
||||
package = pkgs.firefox-extensions.ether-metamask;
|
||||
enable = lib.mkDefault false; # until i can disable the first-run notification
|
||||
@@ -46,11 +46,11 @@ in
|
||||
package = pkgs.firefox-extensions.i-still-dont-care-about-cookies;
|
||||
enable = lib.mkDefault false; #< obsoleted by uBlock Origin annoyances/cookies lists
|
||||
};
|
||||
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 false;
|
||||
};
|
||||
# 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 false;
|
||||
# };
|
||||
passff = {
|
||||
package = pkgs.firefox-extensions.passff;
|
||||
nativeMessagingHosts = [ pkgs.passff-host ];
|
||||
@@ -76,9 +76,10 @@ in
|
||||
|
||||
suggestedPrograms = lib.optionals cfg.addons.firefox-xdg-open.enable [
|
||||
"firefox-xdg-open"
|
||||
] ++ lib.optionals cfg.addons.open-in-mpv.enable [
|
||||
"open-in-mpv"
|
||||
];
|
||||
# ++ lib.optionals cfg.addons.open-in-mpv.enable [
|
||||
# "open-in-mpv"
|
||||
# ];
|
||||
|
||||
sandbox.extraHomePaths = lib.optionals cfg.addons.browserpass-extension.enable [
|
||||
# browserpass needs these paths:
|
||||
|
Reference in New Issue
Block a user