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;
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 @@
};
};
};
};
};
}