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