diff --git a/modules/home/firefox/default.nix b/modules/home/firefox/default.nix index 6b16882..0d8525f 100755 --- a/modules/home/firefox/default.nix +++ b/modules/home/firefox/default.nix @@ -5,29 +5,24 @@ src = ./startpage.html; inherit (theme) wallpaper; }; - userChrome = builtins.readFile (pkgs.substituteAll { - src = ./userChrome.css; - backgroundColor = "#${theme.backgroundColor.toHexRGBA}"; - }); in { enable = true; - profiles.default = { - settings = {}; - isDefault = true; - inherit userChrome; - extensions = with pkgs.nur.repos.rycee.firefox-addons; - with pkgs.firefox-addons; [ - sponsorblock - ublock-origin - bitwarden - sidebery - firefox-translations - wayback-machine - ]; - }; - package = with pkgs; - wrapFirefox firefox-beta-unwrapped { - extraPolicies = { + 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 = { CaptivePortal = false; DisableFirefoxStudies = true; DisablePocket = true; @@ -265,5 +260,6 @@ }; }; }; + }; }; } \ No newline at end of file