about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-27 12:09:58 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-27 13:05:31 -0800
commit6a27a72526239fcc2c3f72c4588ba652ac0f3259 (patch)
tree9e3a927c44cc4770d6495800e98f94ab84d0c09d /users
parentflake: add new overlay: NUR (diff)
downloadworld-6a27a72526239fcc2c3f72c4588ba652ac0f3259.tar.gz
firefox: add plugins and configurations
Diffstat (limited to 'users')
-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;
+          }
+        '';
+      };
+    };
   };
 }