mods.browser.zen.enable
Enables the zen browser
Type: boolean
Default:
false
Example:
true
mods.browser.zen.configuration
Zen policy configuration. See https://mozilla.github.io/policy-templates for more information.
Type: attribute set of anything
Default:
{
"3rdparty" = {
Extensions = {
"addon@darkreader.org" = {
previewNewDesign = true;
theme = {
darkSchemeBackgroundColor = "#1e1e2e";
darkSchemeTextColor = "#cdd6f4";
};
};
};
};
CaptivePortal = false;
DisableFirefoxStudies = true;
DisablePocket = true;
DisableTelemetry = true;
EnableTrackingProtection = {
Cryptomining = true;
Fingerprinting = true;
Locked = true;
Value = true;
};
FirefoxHome = {
Highlights = false;
Pocket = false;
Search = true;
Snippets = false;
TopSites = true;
};
NoDefaultBookmarks = true;
PasswordManagerEnabled = false;
UserMessaging = {
ExtensionRecommendations = false;
SkipOnboarding = true;
};
}
Example:
{ }
mods.browser.zen.darkreader
Whether to enable darkreader
Type: boolean
Default:
true
Example:
false
mods.browser.zen.extensions
List of extensions via attrsets:
# id
# figure out the id via:
# nix run github:tupakkatapa/mozid -- 'https://addons.mozilla.org/en/firefox/addon/ublock-origin'
"uBlock0@raymondhill.net" = {
# install url
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
# method https://mozilla.github.io/policy-templates/#extensionsettings
installation_mode = "force_installed";
};
Type: list of anything
Default:
[
{
"uBlock0@raymondhill.net" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
installation_mode = "normal_installed";
};
}
{
"{a6c4a591-f1b2-4f03-b3ff-767e5bedf4e7}" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/user-agent-string-switcher/latest.xpi";
installation_mode = "normal_installed";
};
}
{
"{d7742d87-e61d-4b78-b8a1-b469842139fa}" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/vimium-ff/latest.xpi";
installation_mode = "normal_installed";
};
}
{
"firefox@ghostery.com" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ghostery/latest.xpi";
installation_mode = "normal_installed";
};
}
{
"CanvasBlocker@kkapsner.de" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/canvasblocker/latest.xpi";
installation_mode = "normal_installed";
};
}
{
"jid1-KKzOGWgsW3Ao4Q@jetpack" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/i-dont-care-about-cookies/latest.xpi";
installation_mode = "normal_installed";
};
}
{
"keepassxc-browser@keepassxc.org" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/keepassxc-browser/latest.xpi";
installation_mode = "normal_installed";
};
}
{
"@react-devtools" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/react-devtools/latest.xpi";
installation_mode = "normal_installed";
};
}
{
"extension@redux.devtools" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/reduxdevtools/latest.xpi";
installation_mode = "normal_installed";
};
}
{
"private-relay@firefox.com" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/private-relay/latest.xpi";
installation_mode = "normal_installed";
};
}
]
Example:
[
{
"78272b6fa58f4a1abaac99321d503a20@proton.me" = {
install_url = "https://addons.mozilla.org/en-US/firefox/downloads/latest/proton-pass/latest.xpi";
installation_mode = "normal_installed";
};
}
]
mods.browser.zen.profiles
Zen profiles
Type: list of attribute set of anything
Default:
[
{
name = "YOURNAME";
value = {
id = 0;
isDefault = true;
settings = {
"cookiebanners.service.mode" = 2;
"extensions.autoDisableScopes" = 0;
"zen.theme.accent-color" = "#b4bbff";
"zen.view.compact.hide-tabbar" = false;
"zen.view.compact.hide-toolbar" = true;
"zen.view.sidebar-expanded" = false;
"zen.view.use-single-toolbar" = false;
"zen.view.welcome-screen.seen" = true;
};
};
}
{
name = "special";
value = {
id = 1;
isDefault = false;
settings = {
"extensions.autoDisableScopes" = 0;
"zen.theme.accent-color" = "#b4bbff";
"zen.view.compact.hide-tabbar" = false;
"zen.view.compact.hide-toolbar" = true;
"zen.view.sidebar-expanded" = false;
"zen.view.use-single-toolbar" = false;
"zen.view.welcome-screen.seen" = true;
};
};
}
]
Example:
[
{
name = "custom";
value = {
extensions = {
packages = [
<derivation darkreader-4.9.106>
];
};
id = 0;
isDefault = true;
settings = {
extensions = {
autoDisableScopes = 0;
};
};
};
}
]