about summary refs log tree commit diff
path: root/users/fcuny/desktop/browser.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--users/fcuny/desktop/browser.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/users/fcuny/desktop/browser.nix b/users/fcuny/desktop/browser.nix
index cbd8d29..dfbf092 100644
--- a/users/fcuny/desktop/browser.nix
+++ b/users/fcuny/desktop/browser.nix
@@ -3,5 +3,34 @@
 {
   programs.firefox = {
     enable = true;
+    extensions = with pkgs.nur.repos.rycee.firefox-addons; [
+      https-everywhere
+      pkgs.nur.repos.rycee.firefox-addons."1password-x-password-manager"
+      ublock-origin
+    ];
+    profiles = {
+      default = {
+        settings = {
+          "browser.bookmarks.showMobileBookmarks" = false;
+          "browser.compactmode.show" = true;
+          "browser.contentblocking.category" = "strict";
+          "browser.startup.page" = 3;
+          "privacy.trackingprotection.enabled" = true;
+          "privacy.trackingprotection.socialtracking.enabled" = true;
+          "media.peerconnection.enabled" = true;
+          "media.ffmpeg.vaapi.enabled" = true; ## keep this with ff 96
+          "media.rdd-ffmpeg.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
+          "media.rdd-vpx.enabled" = false; ## remove on ff 96
+        };
+
+        userChrome = ''
+          #TabsToolbar {
+          visibility: collapse;
+          }
+        '';
+      };
+    };
   };
 }