about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-03 14:36:55 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-03 14:36:55 -0700
commit07ba29dd914f6e2c0fe87fa365048a6b56994b61 (patch)
treec3a92eda41213ba584ab55b41c9c3258b4c16512 /users
parentset the music directory based on host's name (diff)
downloadworld-07ba29dd914f6e2c0fe87fa365048a6b56994b61.tar.gz
firefox: set duckduckgo as default search engine
This is not really working, need to figure this out.
Diffstat (limited to '')
-rw-r--r--users/fcuny/desktop/browser.nix29
1 files changed, 20 insertions, 9 deletions
diff --git a/users/fcuny/desktop/browser.nix b/users/fcuny/desktop/browser.nix
index 27a4406..d901691 100644
--- a/users/fcuny/desktop/browser.nix
+++ b/users/fcuny/desktop/browser.nix
@@ -11,22 +11,33 @@
     profiles = {
       default = {
         settings = {
-          "app.update.auto" = false; ## nix handle updates
+          ## nix handle updates
+          "app.update.auto" = false;
           "browser.bookmarks.showMobileBookmarks" = false;
           "browser.compactmode.show" = true;
           "browser.contentblocking.category" = "strict";
           "browser.search.countryCode" = "US";
+          "browser.search.defaultenginename" = "DuckDuckGo";
           "browser.search.isUS" = true;
           "browser.search.region" = "US";
-          "browser.shell.checkDefaultBrowser" = false; ## don't check if it's the default browser
-          "browser.startup.page" = 3;
-          "media.ffmpeg.vaapi.enabled" = true; ## keep this with ff 96
-          "media.ffvpx.enabled" = false; ## remove on ff 96
-          "media.navigator.mediadatadecoder_vpx_enabled" = true; ## remove on ff 96
+          "browser.search.selectedEngine" = "DuckDuckGo";
+          ## don't check if it's the default browser
+          "browser.shell.checkDefaultBrowser" = false;
+          "browser.startup.homepage" = "https://duckduckgo.com";
+          "browser.urlbar.placeholderName" = "DuckDuckGo";
+          ## keep this with ff 96
+          "media.ffmpeg.vaapi.enabled" = true;
+          ## remove on ff 96
+          "media.ffvpx.enabled" = false;
+          ## remove on ff 96
+          "media.navigator.mediadatadecoder_vpx_enabled" = true;
           "media.peerconnection.enabled" = true;
-          "media.rdd-ffmpeg.enabled" = true; ## keep this with ff 96
-          "media.rdd-vpx.enabled" = false; ## remove on ff 96
-          "network.cookie.cookieBehavior" = 1; ## Block third-party cookies
+          ## keep this with ff 96
+          "media.rdd-ffmpeg.enabled" = true;
+          ## remove on ff 96
+          "media.rdd-vpx.enabled" = false;
+          ## Block third-party cookies
+          "network.cookie.cookieBehavior" = 1;
           "privacy.donottrackheader.enabled" = true;
           "privacy.trackingprotection.enabled" = true;
           "privacy.trackingprotection.socialtracking.enabled" = true;