Update Librewolf config for readability
This commit is contained in:
parent
bd1a976a18
commit
3d3c89c326
2 changed files with 50 additions and 59 deletions
|
@ -13,6 +13,7 @@
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "midas";
|
hostName = "midas";
|
||||||
|
domain = "mx.nixfox.ca";
|
||||||
hostId = "38ba3f57";
|
hostId = "38ba3f57";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
"NixPKGs"
|
"NixPKGs"
|
||||||
"MyNixOS"
|
"MyNixOS"
|
||||||
"YouTube"
|
"YouTube"
|
||||||
"Spotify"
|
"Spotify"
|
||||||
];
|
];
|
||||||
engines = {
|
engines = {
|
||||||
"Ecosia" = {
|
"Ecosia" = {
|
||||||
|
@ -107,53 +107,43 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
commonBookmarks = [
|
|
||||||
{
|
|
||||||
name = "NixFox";
|
|
||||||
url = "https://nixfox.ca";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "Corn";
|
|
||||||
url = "https://freecorn1854.win";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "Luna";
|
|
||||||
url = "https://www.lunamoonlight.xyz";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "Kernel";
|
|
||||||
url = "https://www.kernel.org";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
commonSettings = {
|
commonSettings = {
|
||||||
"general.autoScroll" = true;
|
# Generic
|
||||||
|
"browser.download.useDownloadDir" = true;
|
||||||
|
"browser.shell.checkDefaultBrowser" = false;
|
||||||
|
"browser.startup.page" = 3;
|
||||||
|
"browser.urlbar.speculativeConnect.enabled" = false;
|
||||||
|
|
||||||
|
# Hardware tweaks
|
||||||
|
"clipboard.autocopy" = false;
|
||||||
|
"general.autoScroll" = true;
|
||||||
|
"middlemouse.paste" = false;
|
||||||
|
"toolkit.tabbox.switchByScrolling" = true;
|
||||||
|
"webgl.disabled" = false;
|
||||||
|
|
||||||
|
# Fonts
|
||||||
"font.name.serif.x-western" = config.look.fonts.main;
|
"font.name.serif.x-western" = config.look.fonts.main;
|
||||||
"font.name.sans-serif.x-western" = config.look.fonts.main;
|
"font.name.sans-serif.x-western" = config.look.fonts.main;
|
||||||
"font.name.monospace.x-western" = config.look.fonts.nerd;
|
"font.name.monospace.x-western" = config.look.fonts.nerd;
|
||||||
|
|
||||||
"browser.uidensity" = 1;
|
# Theming and visibility
|
||||||
"browser.compactmode.show" = true;
|
|
||||||
"browser.send_pings" = false;
|
|
||||||
"browser.shell.checkDefaultBrowser" = false;
|
|
||||||
"browser.toolbars.bookmarks.visibility" = "never";
|
|
||||||
"browser.contentblocking.category" = "strict";
|
|
||||||
"browser.helperApps.deleteTempFileOnExit" = true;
|
|
||||||
"browser.search.separatePrivateDefault" = false;
|
|
||||||
"browser.download.useDownloadDir" = true;
|
|
||||||
"browser.aboutConfig.showWarning" = false;
|
"browser.aboutConfig.showWarning" = false;
|
||||||
"browser.startup.page" = 3;
|
"browser.compactmode.show" = true;
|
||||||
|
"browser.tabs.inTitlebar" = 0;
|
||||||
"browser.theme.content-theme" = 0;
|
"browser.theme.content-theme" = 0;
|
||||||
"browser.theme.toolbar-theme" = 0;
|
"browser.theme.toolbar-theme" = 0;
|
||||||
"browser.newtabpage.enabled" = false;
|
"browser.toolbars.bookmarks.visibility" = "never";
|
||||||
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
|
"browser.uidensity" = 1;
|
||||||
|
"extensions.activeThemeID" = "firefox-compact-dark@mozilla.org";
|
||||||
|
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||||
|
|
||||||
|
# New tab
|
||||||
"browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons" = false;
|
"browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons" = false;
|
||||||
"browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features" = false;
|
"browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features" = false;
|
||||||
"browser.tabs.inTitlebar" = 0;
|
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
|
||||||
"browser.tabs.closeWindowWithLastTab" = false;
|
"browser.newtabpage.enabled" = false;
|
||||||
"browser.urlbar.speculativeConnect.enabled" = false;
|
|
||||||
"browser.discovery.enabled" = false;
|
|
||||||
|
|
||||||
|
# Safe browsing
|
||||||
"browser.safebrowsing.downloads.enabled" = false;
|
"browser.safebrowsing.downloads.enabled" = false;
|
||||||
"browser.safebrowsing.downloads.remote.enabled" = false;
|
"browser.safebrowsing.downloads.remote.enabled" = false;
|
||||||
"browser.safebrowsing.downloads.remote.block_uncommon" = false;
|
"browser.safebrowsing.downloads.remote.block_uncommon" = false;
|
||||||
|
@ -166,57 +156,59 @@
|
||||||
"browser.safebrowsing.provider.google.gethashURL" = false;
|
"browser.safebrowsing.provider.google.gethashURL" = false;
|
||||||
"browser.safebrowsing.provider.google.updateURL" = false;
|
"browser.safebrowsing.provider.google.updateURL" = false;
|
||||||
|
|
||||||
|
# Extensions
|
||||||
"extensions.pocket.enabled" = false;
|
"extensions.pocket.enabled" = false;
|
||||||
"extensions.autoDisableScopes" = 0;
|
|
||||||
"extensions.activeThemeID" = "firefox-compact-dark@mozilla.org";
|
|
||||||
"extensions.formautofill.addresses.enabled" = false;
|
"extensions.formautofill.addresses.enabled" = false;
|
||||||
"extensions.formautofill.creditCards.enabled" = false;
|
"extensions.formautofill.creditCards.enabled" = false;
|
||||||
"extensions.getAddons.showPane" = false;
|
"extensions.getAddons.showPane" = false;
|
||||||
"extensions.webservice.discoverURL" = "";
|
|
||||||
"extensions.getAddons.discovery.api_url" = "";
|
|
||||||
"extensions.htmlaboutaddons.discover.enabled" = false;
|
"extensions.htmlaboutaddons.discover.enabled" = false;
|
||||||
"extensions.htmlaboutaddons.recommendations.enabled" = false;
|
"extensions.htmlaboutaddons.recommendations.enabled" = false;
|
||||||
|
|
||||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
# Force extensions to work
|
||||||
"toolkit.tabbox.switchByScrolling" = true;
|
"extensions.autoDisableScopes" = 0;
|
||||||
|
"extensions.enabledScopes" = 15;
|
||||||
|
|
||||||
|
# Privacy
|
||||||
"privacy.resistFingerprinting" = true;
|
"privacy.resistFingerprinting" = true;
|
||||||
"privacy.resistFingerprinting.autoDeclineNoUserInputCanvasPrompts" = true;
|
"privacy.firstparty.isolate" = true;
|
||||||
"privacy.fingerprintingProtection" = true;
|
"privacy.fingerprintingProtection" = true;
|
||||||
"privacy.globalprivacycontrol.enabled" = true;
|
"privacy.globalprivacycontrol.enabled" = true;
|
||||||
"privacy.globalprivacycontrol.functionality.enabled" = true;
|
"privacy.globalprivacycontrol.functionality.enabled" = true;
|
||||||
"privacy.clearOnShutdown.cookies" = false;
|
"privacy.clearOnShutdown.cookies" = false;
|
||||||
"privacy.clearOnShutdown_v2.cookiesAndStorage" = false;
|
"privacy.clearOnShutdown_v2.cookiesAndStorage" = false;
|
||||||
|
|
||||||
|
# Tracking URL blocking
|
||||||
"urlclassifier.trackingSkipURLs" = "*.reddit.com, *.twitter.com, *.twimg.com, *.tiktok.com";
|
"urlclassifier.trackingSkipURLs" = "*.reddit.com, *.twitter.com, *.twimg.com, *.tiktok.com";
|
||||||
"urlclassifier.features.socialtracking.skipURLs" = "*.instagram.com, *.twitter.com, *.twimg.com";
|
"urlclassifier.features.socialtracking.skipURLs" = "*.instagram.com, *.twitter.com, *.twimg.com";
|
||||||
|
|
||||||
"network.trr.mode" = 3;
|
# Network tracking
|
||||||
"network.trr.uri" = "https://wikimedia-dns.org/dns-query";
|
"browser.contentblocking.category" = "strict";
|
||||||
"network.cookie.cookieBehavior" = 1;
|
"network.cookie.cookieBehavior" = 1;
|
||||||
"network.cookie.sameSite.noneRequiresSecure" = true;
|
"network.cookie.sameSite.noneRequiresSecure" = true;
|
||||||
"network.http.referer.XOriginPolicy" = 2;
|
"network.http.referer.XOriginPolicy" = 2;
|
||||||
"network.http.referer.XOriginTrimmingPolicy" = 2;
|
"network.http.referer.XOriginTrimmingPolicy" = 2;
|
||||||
"network.http.referer.trimmingPolicy" = 2;
|
"network.http.referer.trimmingPolicy" = 2;
|
||||||
|
"network.trr.mode" = 3;
|
||||||
|
"network.trr.uri" = "https://wikimedia-dns.org/dns-query";
|
||||||
|
|
||||||
"dom.private-attribution.submission.enabled" = false;
|
# HTTPS upgrading
|
||||||
"dom.battery.enabled" = false;
|
|
||||||
"dom.security.https_only_mode" = true;
|
"dom.security.https_only_mode" = true;
|
||||||
"dom.security.https_only_mode.upgrade_local" = true;
|
|
||||||
"dom.security.https_only_mode_ever_enabled" = true;
|
"dom.security.https_only_mode_ever_enabled" = true;
|
||||||
"dom.security.https_only_mode_ever_enabled_pbm" = true;
|
"dom.security.https_only_mode_ever_enabled_pbm" = true;
|
||||||
|
|
||||||
"clipboard.autocopy" = false;
|
# Sensors
|
||||||
"middlemouse.paste" = false;
|
|
||||||
|
|
||||||
"identity.fxaccounts.enabled" = false;
|
|
||||||
"datareporting.healthreport.uploadEnabled" = false;
|
|
||||||
"svg.context-properties.content.enabled" = true;
|
|
||||||
"services.sync.engine.addresses.available" = false;
|
|
||||||
"device.sensors.motion.enabled" = false;
|
"device.sensors.motion.enabled" = false;
|
||||||
|
"dom.battery.enabled" = false;
|
||||||
|
"dom.private-attribution.submission.enabled" = false;
|
||||||
|
|
||||||
|
# Telemetry
|
||||||
|
"browser.discovery.enabled" = false;
|
||||||
|
"browser.send_pings" = false;
|
||||||
|
"datareporting.healthreport.uploadEnabled" = false;
|
||||||
|
"identity.fxaccounts.enabled" = false;
|
||||||
"security.OCSP.require" = true;
|
"security.OCSP.require" = true;
|
||||||
"gnomeTheme.hideSingleTab" = true;
|
"services.sync.engine.addresses.available" = false;
|
||||||
"webgl.disabled" = false;
|
"svg.context-properties.content.enabled" = true;
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
Main = {
|
Main = {
|
||||||
|
@ -224,7 +216,6 @@
|
||||||
isDefault = true;
|
isDefault = true;
|
||||||
extensions = commonExtensions;
|
extensions = commonExtensions;
|
||||||
search = commonSearch;
|
search = commonSearch;
|
||||||
bookmarks = commonBookmarks;
|
|
||||||
settings = commonSettings;
|
settings = commonSettings;
|
||||||
userChrome = ''
|
userChrome = ''
|
||||||
${themeMain}
|
${themeMain}
|
||||||
|
@ -236,7 +227,6 @@
|
||||||
id = 1;
|
id = 1;
|
||||||
extensions = commonExtensions;
|
extensions = commonExtensions;
|
||||||
search = commonSearch;
|
search = commonSearch;
|
||||||
bookmarks = commonBookmarks;
|
|
||||||
settings = commonSettings;
|
settings = commonSettings;
|
||||||
userChrome = ''
|
userChrome = ''
|
||||||
${themeAlt}
|
${themeAlt}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue