change firefox config

This commit is contained in:
Frost-Phoenix 2023-11-09 18:39:10 +01:00
parent 9ab15fc5ae
commit e25d68a39f

View file

@ -5,29 +5,24 @@
src = ./startpage.html; src = ./startpage.html;
inherit (theme) wallpaper; inherit (theme) wallpaper;
}; };
userChrome = builtins.readFile (pkgs.substituteAll {
src = ./userChrome.css;
backgroundColor = "#${theme.backgroundColor.toHexRGBA}";
});
in { in {
enable = true; enable = true;
profiles.default = { package = pkgs.wrapFirefox pkgs.firefox-unwrapped {
settings = {}; profiles.default = {
isDefault = true; settings = {};
inherit userChrome; isDefault = true;
extensions = with pkgs.nur.repos.rycee.firefox-addons; userChrome = builtins.readFile ./userChrome.css;
with pkgs.firefox-addons; [ extensions = with pkgs.nur.repos.rycee.firefox-addons;
sponsorblock with pkgs.firefox-addons; [
ublock-origin sponsorblock
bitwarden ublock-origin
sidebery bitwarden
firefox-translations sidebery
wayback-machine firefox-translations
]; wayback-machine
}; ];
package = with pkgs; };
wrapFirefox firefox-beta-unwrapped { extraPolicies = {
extraPolicies = {
CaptivePortal = false; CaptivePortal = false;
DisableFirefoxStudies = true; DisableFirefoxStudies = true;
DisablePocket = true; DisablePocket = true;
@ -265,5 +260,6 @@
}; };
}; };
}; };
};
}; };
} }