From 08a5d4be58cf885bc6be23bac7ca7673cf90e891 Mon Sep 17 00:00:00 2001 From: Frost-Phoenix <67cyril6767@gmail.com> Date: Thu, 9 Nov 2023 18:42:34 +0100 Subject: [PATCH] change firefox config --- modules/home/firefox/default.nix | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/modules/home/firefox/default.nix b/modules/home/firefox/default.nix index cb3fce7..47047e5 100755 --- a/modules/home/firefox/default.nix +++ b/modules/home/firefox/default.nix @@ -7,22 +7,24 @@ }; in { enable = true; + + profiles.default = { + settings = {}; + isDefault = true; + userChrome = builtins.readFile ./userChrome.css; + extensions = with pkgs.nur.repos.rycee.firefox-addons; + with pkgs.firefox-addons; [ + sponsorblock + ublock-origin + bitwarden + sidebery + firefox-translations + wayback-machine + ]; + }; + package = pkgs.wrapFirefox pkgs.firefox-unwrapped { - profiles.default = { - settings = {}; - isDefault = true; - userChrome = builtins.readFile ./userChrome.css; - extensions = with pkgs.nur.repos.rycee.firefox-addons; - with pkgs.firefox-addons; [ - sponsorblock - ublock-origin - bitwarden - sidebery - firefox-translations - wayback-machine - ]; - }; - extraPolicies = { + extraPolicies = { CaptivePortal = false; DisableFirefoxStudies = true; DisablePocket = true;