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; 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;
package = pkgs.wrapFirefox pkgs.firefox-unwrapped {
profiles.default = { profiles.default = {
settings = {}; settings = {};
isDefault = true; isDefault = true;
inherit userChrome; userChrome = builtins.readFile ./userChrome.css;
extensions = with pkgs.nur.repos.rycee.firefox-addons; extensions = with pkgs.nur.repos.rycee.firefox-addons;
with pkgs.firefox-addons; [ with pkgs.firefox-addons; [
sponsorblock sponsorblock
@ -25,8 +22,6 @@
wayback-machine wayback-machine
]; ];
}; };
package = with pkgs;
wrapFirefox firefox-beta-unwrapped {
extraPolicies = { extraPolicies = {
CaptivePortal = false; CaptivePortal = false;
DisableFirefoxStudies = true; DisableFirefoxStudies = true;
@ -266,4 +261,5 @@
}; };
}; };
}; };
};
} }