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,16 +5,13 @@
src = ./startpage.html;
inherit (theme) wallpaper;
};
userChrome = builtins.readFile (pkgs.substituteAll {
src = ./userChrome.css;
backgroundColor = "#${theme.backgroundColor.toHexRGBA}";
});
in {
enable = true;
package = pkgs.wrapFirefox pkgs.firefox-unwrapped {
profiles.default = {
settings = {};
isDefault = true;
inherit userChrome;
userChrome = builtins.readFile ./userChrome.css;
extensions = with pkgs.nur.repos.rycee.firefox-addons;
with pkgs.firefox-addons; [
sponsorblock
@ -25,8 +22,6 @@
wayback-machine
];
};
package = with pkgs;
wrapFirefox firefox-beta-unwrapped {
extraPolicies = {
CaptivePortal = false;
DisableFirefoxStudies = true;
@ -266,4 +261,5 @@
};
};
};
};
}