about summary refs log tree commit diff
path: root/home/firefox
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-05-05 19:41:58 -0700
committerFranck Cuny <franck@fcuny.net>2023-05-05 19:41:58 -0700
commit43da9edb4598eef509c481ae0b305384418c45de (patch)
treea0ad614c90102757143e026e4fe1806431a3dbf4 /home/firefox
parentprofiles/default: users are immutable (diff)
downloadworld-43da9edb4598eef509c481ae0b305384418c45de.tar.gz
home/profiles: move (almost) all modules to profiles
This is a major refactor, similar to what was done for the hosts, but in
a single commit.
Diffstat (limited to 'home/firefox')
-rw-r--r--home/firefox/default.nix66
1 files changed, 0 insertions, 66 deletions
diff --git a/home/firefox/default.nix b/home/firefox/default.nix
deleted file mode 100644
index b07b82c..0000000
--- a/home/firefox/default.nix
+++ /dev/null
@@ -1,66 +0,0 @@
-{ config, lib, pkgs, ... }:
-let
-  cfg = config.my.home.firefox;
-in
-{
-  options.my.home.firefox = with lib; {
-    enable = mkEnableOption "firefox configuration";
-  };
-
-  config.programs.firefox = lib.mkIf cfg.enable {
-    enable = true;
-    profiles = {
-      default = {
-        extensions = with pkgs.nur.repos.rycee.firefox-addons; [
-          pkgs.nur.repos.rycee.firefox-addons."1password-x-password-manager"
-          consent-o-matic
-          refined-github
-          sponsorblock
-          ublock-origin
-        ];
-        settings = {
-          ## 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.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;
-          ## 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;
-
-          "font.name.monospace.x-western" = "Source Code Pro";
-          "font.name.sans-serif.x-western" = "DejaVu Sans";
-          "font.name.serif.x-western" = "DejaVu Serif";
-        };
-
-        userChrome = ''
-          #TabsToolbar {
-          visibility: collapse;
-          }
-        '';
-      };
-    };
-  };
-}