Fix Librewolf native messaging host

This commit is contained in:
GHOSCHT 2025-01-10 16:30:40 +01:00
parent 0068c3d6d3
commit ebe669ca0b
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -2,11 +2,13 @@
, pkgs , pkgs
, ... , ...
}: { }: {
# Enable kde-connect for non-Plasma DEs
home.file.".librewolf/native-messaging-hosts/org.kde.plasma.browser_integration.json".source = "${pkgs.plasma5Packages.plasma-browser-integration}/lib/mozilla/native-messaging-hosts/org.kde.plasma.browser_integration.json";
programs.librewolf = { programs.librewolf = {
enable = true; enable = true;
package = pkgs.librewolf.override {
nativeMessagingHosts = with pkgs; [
kdePackages.plasma-browser-integration
];
};
profiles.Default = { profiles.Default = {
extensions = with inputs.firefox-addons.packages."x86_64-linux"; [ extensions = with inputs.firefox-addons.packages."x86_64-linux"; [
@ -122,8 +124,8 @@
"extensions.screenshots.disabled" = true; # Firefox Screenshot feature is annoying "extensions.screenshots.disabled" = true; # Firefox Screenshot feature is annoying
"privacy.clearOnShutdown_v2.cookiesAndStorage" = false; # Disable cookie clearing "privacy.clearOnShutdown_v2.cookiesAndStorage" = false; # Disable cookie clearing
"media.hardwaremediakeys.enabled" = false; # Interferes with KDE Connect "media.hardwaremediakeys.enabled" = false; # Interferes with KDE Connect
"browser.urlbar.keepPanelOpenDuringImeComposition" = true; # Improve Firefox IME support "browser.urlbar.keepPanelOpenDuringImeComposition" = true; # Improve Firefox IME support
"media.eme.enabled" = true; # Enable DRM for e.g. Spotify "media.eme.enabled" = true; # Enable DRM for e.g. Spotify
"dom.security.https_only_mode" = true; "dom.security.https_only_mode" = true;
"browser.download.panel.shown" = false; "browser.download.panel.shown" = false;
"browser.toolbars.bookmarks.visibility" = "always"; "browser.toolbars.bookmarks.visibility" = "always";