Fix Librewolf native messaging host
This commit is contained in:
parent
0068c3d6d3
commit
ebe669ca0b
1 changed files with 7 additions and 5 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue