diff --git a/home/features/desktop/common/firefox.nix b/home/features/desktop/common/firefox.nix index 4a96c22..dc4c63f 100644 --- a/home/features/desktop/common/firefox.nix +++ b/home/features/desktop/common/firefox.nix @@ -1,10 +1,10 @@ -{ - inputs, - pkgs, - vars, - ... +{ inputs +, pkgs +, ... }: { - imports = [inputs.arkenfox.hmModules.default]; + imports = [ inputs.arkenfox.hmModules.default ]; + + # Enable kde-connect for non-Plasma DEs home.file.".mozilla/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.firefox = { @@ -26,7 +26,7 @@ gesturefy plasma-integration libredirect - # bypass-paywalls-clean + yomitan ]; search.engines = { @@ -48,7 +48,7 @@ ]; icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; - definedAliases = ["@np"]; + definedAliases = [ "@np" ]; }; "Home Manager" = { @@ -65,7 +65,7 @@ ]; icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; - definedAliases = ["@hm"]; + definedAliases = [ "@hm" ]; }; "Searx" = { @@ -82,7 +82,7 @@ ]; iconUpdateURL = "https://paulgo.io/favicon.ico"; - definedAliases = ["@sx"]; + definedAliases = [ "@sx" ]; }; "Amazon" = { @@ -99,7 +99,7 @@ ]; iconUpdateURL = "https://amazon.de/favicon.ico"; - definedAliases = ["@a"]; + definedAliases = [ "@a" ]; }; "YouTube" = { @@ -116,11 +116,13 @@ ]; iconUpdateURL = "https://piped.video/favicon.ico"; - definedAliases = ["yt"]; + definedAliases = [ "yt" ]; }; }; - search.force = true; - search.default = "Searx"; + search = { + force = true; + default = "DuckDuckGo"; + }; settings = { "media.hardwaremediakeys.enabled" = false; @@ -191,9 +193,9 @@ }; xdg.mimeApps.defaultApplications = { - "text/html" = ["firefox.desktop"]; - "text/xml" = ["firefox.desktop"]; - "x-scheme-handler/http" = ["firefox.desktop"]; - "x-scheme-handler/https" = ["firefox.desktop"]; + "text/html" = [ "firefox.desktop" ]; + "text/xml" = [ "firefox.desktop" ]; + "x-scheme-handler/http" = [ "firefox.desktop" ]; + "x-scheme-handler/https" = [ "firefox.desktop" ]; }; }