change firefox config
This commit is contained in:
parent
9ab15fc5ae
commit
e25d68a39f
|
@ -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 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue