style: use alejandra formatter on all nix files
This commit is contained in:
parent
d563805909
commit
0d8a394dcf
76 changed files with 1287 additions and 935 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
# DNS over HTTP (DoH), aka. Trusted Recursive Resolver (TRR)
|
||||
# (https://wiki.mozilla.org/Trusted_Recursive_Resolver), uses a server run by
|
||||
# Cloudflare to resolve hostnames, even when the system uses another (normal) DNS
|
||||
# server. This setting disables it and sets the mode to explicit opt-out (5).
|
||||
# DNS over HTTP (DoH), aka. Trusted Recursive Resolver (TRR)
|
||||
# (https://wiki.mozilla.org/Trusted_Recursive_Resolver), uses a server run by
|
||||
# Cloudflare to resolve hostnames, even when the system uses another (normal) DNS
|
||||
# server. This setting disables it and sets the mode to explicit opt-out (5).
|
||||
"network.trr.mode" = 5;
|
||||
}
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
# Disables playback of DRM-controlled HTML5 content
|
||||
# if enabled, automatically downloads the Widevine Content Decryption Module
|
||||
# provided by Google Inc. Details
|
||||
# (https://support.mozilla.org/en-US/kb/enable-drm#w_opt-out-of-cdm-playback-uninstall-cdms-and-stop-all-cdm-downloads)
|
||||
# Disables playback of DRM-controlled HTML5 content
|
||||
# if enabled, automatically downloads the Widevine Content Decryption Module
|
||||
# provided by Google Inc. Details
|
||||
# (https://support.mozilla.org/en-US/kb/enable-drm#w_opt-out-of-cdm-playback-uninstall-cdms-and-stop-all-cdm-downloads)
|
||||
"media.eme.enabled" = false;
|
||||
|
||||
# Disables the Widevine Content Decryption Module provided by Google Inc.
|
||||
# Used for the playback of DRM-controlled HTML5 content Details
|
||||
# (https://support.mozilla.org/en-US/kb/enable-drm#w_disable-the-google-widevine-cdm-without-uninstalling)
|
||||
# Disables the Widevine Content Decryption Module provided by Google Inc.
|
||||
# Used for the playback of DRM-controlled HTML5 content Details
|
||||
# (https://support.mozilla.org/en-US/kb/enable-drm#w_disable-the-google-widevine-cdm-without-uninstalling)
|
||||
"media.gmp-widevinecdm.enabled" = false;
|
||||
}
|
||||
|
|
|
@ -1,18 +1,17 @@
|
|||
{
|
||||
|
||||
# Disable shield studies
|
||||
# Mozilla shield studies (https://wiki.mozilla.org/Firefox/Shield) is a feature
|
||||
# which allows mozilla to remotely install experimental addons.
|
||||
# Disable shield studies
|
||||
# Mozilla shield studies (https://wiki.mozilla.org/Firefox/Shield) is a feature
|
||||
# which allows mozilla to remotely install experimental addons.
|
||||
"app.normandy.enabled" = false;
|
||||
"app.normandy.api_url" = "";
|
||||
"app.shield.optoutstudies.enabled" = false;
|
||||
"extensions.shield-recipe-client.enabled" = false;
|
||||
"extensions.shield-recipe-client.api_url" = "";
|
||||
|
||||
# Disable experiments
|
||||
# Telemetry Experiments (https://wiki.mozilla.org/Telemetry/Experiments) is a
|
||||
# feature that allows Firefox to automatically download and run specially-designed
|
||||
# restartless addons based on certain conditions.
|
||||
# Disable experiments
|
||||
# Telemetry Experiments (https://wiki.mozilla.org/Telemetry/Experiments) is a
|
||||
# feature that allows Firefox to automatically download and run specially-designed
|
||||
# restartless addons based on certain conditions.
|
||||
"experiments.enabled" = false;
|
||||
"experiments.manifest.uri" = "";
|
||||
"experiments.supported" = false;
|
||||
|
|
|
@ -1,24 +1,24 @@
|
|||
{
|
||||
# Firefox sends data about installed addons as metadata updates
|
||||
# (https://blog.mozilla.org/addons/how-to-opt-out-of-add-on-metadata-updates/), so
|
||||
# Mozilla is able to recommend you other addons.
|
||||
# Firefox sends data about installed addons as metadata updates
|
||||
# (https://blog.mozilla.org/addons/how-to-opt-out-of-add-on-metadata-updates/), so
|
||||
# Mozilla is able to recommend you other addons.
|
||||
"extensions.getAddons.cache.enabled" = false;
|
||||
|
||||
# Disable about:addons' Get Add-ons panel
|
||||
# The start page with recommended addons uses google analytics.
|
||||
# Disable about:addons' Get Add-ons panel
|
||||
# The start page with recommended addons uses google analytics.
|
||||
"extensions.getAddons.showPane" = false;
|
||||
"extensions.webservice.discoverURL" = "";
|
||||
|
||||
# disable pocket extension
|
||||
"extensions.pocket.enabled" = false;
|
||||
# disable pocket extension
|
||||
"extensions.pocket.enabled" = false;
|
||||
|
||||
# disable extensions recommendations
|
||||
# disable extensions recommendations
|
||||
"extensions.htmlaboutaddons.recommendations.enabled" = false;
|
||||
|
||||
# Automatically activate extensions
|
||||
# Automatically activate extensions
|
||||
"extensions.autoDisableScopes" = 0;
|
||||
|
||||
# Deacticate extensions auto-update
|
||||
# Deacticate extensions auto-update
|
||||
"extensions.update.enabled" = false;
|
||||
"extensions.update.autoUpdateDefault" = false;
|
||||
}
|
||||
|
|
|
@ -1,53 +1,50 @@
|
|||
{
|
||||
|
||||
"browser.sessionstore.enabled" = true;
|
||||
"browser.sessionstore.restore_hidden_tabs" = true;
|
||||
"browser.sessionstore.restore_pinned_tabs_on_demand" = true;
|
||||
"browser.sessionstore.resume_after_os_start" = true;
|
||||
|
||||
# use blank page for new tabs
|
||||
# use blank page for new tabs
|
||||
"browser.newtabpage.enabled" = false;
|
||||
|
||||
# Disable preloading of the new tab page.
|
||||
# By default Firefox preloads the new tab page (with website thumbnails) in the
|
||||
# background before it is even opened.
|
||||
# Disable preloading of the new tab page.
|
||||
# By default Firefox preloads the new tab page (with website thumbnails) in the
|
||||
# background before it is even opened.
|
||||
"browser.newtab.preload" = false;
|
||||
|
||||
|
||||
# Disable check for captive portal.
|
||||
# By default, Firefox checks for the presence of a captive portal on every
|
||||
# startup. This involves traffic to Akamai
|
||||
# (https://support.mozilla.org/questions/1169302).
|
||||
# Disable check for captive portal.
|
||||
# By default, Firefox checks for the presence of a captive portal on every
|
||||
# startup. This involves traffic to Akamai
|
||||
# (https://support.mozilla.org/questions/1169302).
|
||||
"network.captive-portal-service.enabled" = false;
|
||||
|
||||
|
||||
# Disable Javascript in PDF viewer
|
||||
# Disables executing of JavaScript in the PDF form viewer. It is possible that
|
||||
# some PDFs are not rendered correctly due to missing functions.
|
||||
# Disable Javascript in PDF viewer
|
||||
# Disables executing of JavaScript in the PDF form viewer. It is possible that
|
||||
# some PDFs are not rendered correctly due to missing functions.
|
||||
"pdfjs.enableScripting" = true;
|
||||
|
||||
# Allow fullscreen in Firefox windows
|
||||
# Allow fullscreen in Firefox windows
|
||||
"full-screen-api.ignore-widgets" = true;
|
||||
|
||||
# About:config show warning
|
||||
"browser.aboutConfig.showWarning" = false;
|
||||
# About:config show warning
|
||||
"browser.aboutConfig.showWarning" = false;
|
||||
|
||||
# avoid some useless recommendations
|
||||
"extensions.htmlaboutaddons.recommendations.enabled" = false;
|
||||
"extensions.recommendations.themeRecommendationUrl" = "";
|
||||
# avoid some useless recommendations
|
||||
"extensions.htmlaboutaddons.recommendations.enabled" = false;
|
||||
"extensions.recommendations.themeRecommendationUrl" = "";
|
||||
|
||||
# Do not send FF build ID for site in startup page
|
||||
"browser.startup.homepage_override.mstone" = "ignore";
|
||||
# Do not send FF build ID for site in startup page
|
||||
"browser.startup.homepage_override.mstone" = "ignore";
|
||||
|
||||
"browser.aboutHomeSnippets.updateUrl" = "";
|
||||
"browser.aboutHomeSnippets.updateUrl" = "";
|
||||
|
||||
# Restore session when restart
|
||||
"browser.sessionstore.resume_session_once" = true;
|
||||
# Restore session when restart
|
||||
"browser.sessionstore.resume_session_once" = true;
|
||||
|
||||
# Disable translation
|
||||
"browser.translations.enabled" = false;
|
||||
# Disable translation
|
||||
"browser.translations.enabled" = false;
|
||||
|
||||
# disable AI shit
|
||||
# disable AI shit
|
||||
"browser.ml.chat.enabled" = false;
|
||||
"browser.ml.chat.shortcuts" = false;
|
||||
"browser.ml.chat.sidebar" = false;
|
||||
|
|
|
@ -1,108 +1,107 @@
|
|||
{
|
||||
# Disable access to device sensor data
|
||||
# Disallow websites to access sensor data (ambient light, motion, device
|
||||
# orientation and proximity data).
|
||||
# Disable access to device sensor data
|
||||
# Disallow websites to access sensor data (ambient light, motion, device
|
||||
# orientation and proximity data).
|
||||
"device.sensors.ambientLight.enabled" = false;
|
||||
"device.sensors.enabled" = false;
|
||||
"device.sensors.motion.enabled" = false;
|
||||
"device.sensors.orientation.enabled" = false;
|
||||
"device.sensors.proximity.enabled" = false;
|
||||
|
||||
# Using a popular useragent string
|
||||
# (https://techblog.willshouse.com/2012/01/03/most-common-user-agents/) avoids
|
||||
# attracting attention i.e. with an Iceweasel UA. (keep blank to use the default)
|
||||
# Using a popular useragent string
|
||||
# (https://techblog.willshouse.com/2012/01/03/most-common-user-agents/) avoids
|
||||
# attracting attention i.e. with an Iceweasel UA. (keep blank to use the default)
|
||||
|
||||
# Block Cookies
|
||||
# Block 3rd-Party cookies or even all cookies.
|
||||
# Block Cookies
|
||||
# Block 3rd-Party cookies or even all cookies.
|
||||
"network.cookie.cookieBehavior" = 5;
|
||||
|
||||
# Block Referer
|
||||
# Firefox tells a website, from which site you're coming (the so called RefControl
|
||||
# (http://kb.mozillazine.org/Network.http.sendRefererHeader">referer</a>). You can
|
||||
# find more detailed settings in this <a
|
||||
# href="http://www.ghacks.net/2015/01/22/improve-online-privacy-by-controlling-referrer-information/">ghacks
|
||||
# article</a> or install the <a
|
||||
# href="https://addons.mozilla.org/firefox/addon/refcontrol/) extension for per
|
||||
# domain settings.
|
||||
# Block Referer
|
||||
# Firefox tells a website, from which site you're coming (the so called RefControl
|
||||
# (http://kb.mozillazine.org/Network.http.sendRefererHeader">referer</a>). You can
|
||||
# find more detailed settings in this <a
|
||||
# href="http://www.ghacks.net/2015/01/22/improve-online-privacy-by-controlling-referrer-information/">ghacks
|
||||
# article</a> or install the <a
|
||||
# href="https://addons.mozilla.org/firefox/addon/refcontrol/) extension for per
|
||||
# domain settings.
|
||||
"network.http.referer.spoofSource" = true;
|
||||
|
||||
# Disable DOM storage
|
||||
# Disables DOM storage, which enables so called "supercookies". Some modern sites
|
||||
# will not work (i.e. missing "save" functions).
|
||||
# Disable DOM storage
|
||||
# Disables DOM storage, which enables so called "supercookies". Some modern sites
|
||||
# will not work (i.e. missing "save" functions).
|
||||
"dom.storage.enabled" = true;
|
||||
|
||||
# Disable IndexedDB (breaks things)
|
||||
# abused for tracking (http://www.w3.org/TR/IndexedDB/">IndexedDB</a> is a way,
|
||||
# websites can store structured data. This can be <a
|
||||
# href="http://arstechnica.com/apple/2010/09/rldguid-tracking-cookies-in-safari-database-form/),
|
||||
# too. Disabling causes problems when sites depend on it like Tweetdeck or Reddit
|
||||
# and extensions that use it to store their data. Some users reported crashing
|
||||
# tabs when IndexedDB is disabled. Only disable it, when you know what you're
|
||||
# doing.
|
||||
# Disable IndexedDB (breaks things)
|
||||
# abused for tracking (http://www.w3.org/TR/IndexedDB/">IndexedDB</a> is a way,
|
||||
# websites can store structured data. This can be <a
|
||||
# href="http://arstechnica.com/apple/2010/09/rldguid-tracking-cookies-in-safari-database-form/),
|
||||
# too. Disabling causes problems when sites depend on it like Tweetdeck or Reddit
|
||||
# and extensions that use it to store their data. Some users reported crashing
|
||||
# tabs when IndexedDB is disabled. Only disable it, when you know what you're
|
||||
# doing.
|
||||
"dom.indexedDB.enabled" = true;
|
||||
|
||||
# Disable the Offline Cache.
|
||||
# Websites can store up to 500 MB of data in an offline cache
|
||||
# (http://kb.mozillazine.org/Browser.cache.offline.enable), to be able to run even
|
||||
# when there is no working internet connection. This could possibly be used to
|
||||
# store an user id.
|
||||
# Disable the Offline Cache.
|
||||
# Websites can store up to 500 MB of data in an offline cache
|
||||
# (http://kb.mozillazine.org/Browser.cache.offline.enable), to be able to run even
|
||||
# when there is no working internet connection. This could possibly be used to
|
||||
# store an user id.
|
||||
"browser.cache.offline.enable" = false;
|
||||
|
||||
# Sessionstore Privacy
|
||||
# This preference controls when to store extra information about a session:
|
||||
# contents of forms, scrollbar positions, cookies, and POST data.
|
||||
# Sessionstore Privacy
|
||||
# This preference controls when to store extra information about a session:
|
||||
# contents of forms, scrollbar positions, cookies, and POST data.
|
||||
"browser.sessionstore.privacy_level" = 2;
|
||||
|
||||
# Disable Link Prefetching
|
||||
# Firefox prefetches the next site on some links, so the site is loaded even when
|
||||
# you never click.
|
||||
# Disable Link Prefetching
|
||||
# Firefox prefetches the next site on some links, so the site is loaded even when
|
||||
# you never click.
|
||||
"network.prefetch-next" = false;
|
||||
"network.dns.disablePrefetch" = true;
|
||||
"network.dns.disablePrefetchFromHTTPS" = true;
|
||||
"network.predictor.enabled" = false;
|
||||
"network.predictor.enable-prefetch" = false;
|
||||
|
||||
# Disable speculative website loading.
|
||||
# In some situations Firefox already starts loading web pages when the mouse
|
||||
# pointer is over a link, i. e. before you actually click. This is to speed up the
|
||||
# loading of web pages by a few milliseconds.
|
||||
# Disable speculative website loading.
|
||||
# In some situations Firefox already starts loading web pages when the mouse
|
||||
# pointer is over a link, i. e. before you actually click. This is to speed up the
|
||||
# loading of web pages by a few milliseconds.
|
||||
"network.http.speculative-parallel-limit" = 0;
|
||||
"browser.urlbar.speculativeConnect.enabled" = false;
|
||||
|
||||
# Use a private container for new tab page thumbnails
|
||||
# Load the pages displayed on the new tab page in a private container when
|
||||
# creating thumbnails.
|
||||
# Use a private container for new tab page thumbnails
|
||||
# Load the pages displayed on the new tab page in a private container when
|
||||
# creating thumbnails.
|
||||
"privacy.usercontext.about_newtab_segregation.enabled" = true;
|
||||
|
||||
# Disable WebGL
|
||||
# Disables the WebGL function, to prevent (ab)use the full power of the graphics
|
||||
# card (http://www.uniquemachine.org/">fingerprinting with WebGL</a>. Another
|
||||
# issue is, that websites can <a
|
||||
# href="https://isc.sans.edu/forums/diary/Time+to+disable+WebGL/10867). WebGL is
|
||||
# part of some fingerprinting scripts used in the wild. Some interactive websites
|
||||
# will not work, which are mostly games.
|
||||
# Disable WebGL
|
||||
# Disables the WebGL function, to prevent (ab)use the full power of the graphics
|
||||
# card (http://www.uniquemachine.org/">fingerprinting with WebGL</a>. Another
|
||||
# issue is, that websites can <a
|
||||
# href="https://isc.sans.edu/forums/diary/Time+to+disable+WebGL/10867). WebGL is
|
||||
# part of some fingerprinting scripts used in the wild. Some interactive websites
|
||||
# will not work, which are mostly games.
|
||||
"webgl.disabled" = false;
|
||||
|
||||
# Override graphics card vendor and model strings in the WebGL API
|
||||
# Websites can read the graphics card vendor and model using a WebGL API. This
|
||||
# setting overrides both with " " without disabling WebGL.
|
||||
# Override graphics card vendor and model strings in the WebGL API
|
||||
# Websites can read the graphics card vendor and model using a WebGL API. This
|
||||
# setting overrides both with " " without disabling WebGL.
|
||||
"webgl.renderer-string-override" = " ";
|
||||
"webgl.vendor-string-override" = " ";
|
||||
|
||||
# Disable WebRTC
|
||||
# Disables the WebRTC function, which gives away your local ips. Some addons like
|
||||
# uBlock origin provide settings to prevent WebRTC from exposing local ips without
|
||||
# disabling WebRTC.
|
||||
# Disable WebRTC
|
||||
# Disables the WebRTC function, which gives away your local ips. Some addons like
|
||||
# uBlock origin provide settings to prevent WebRTC from exposing local ips without
|
||||
# disabling WebRTC.
|
||||
"media.peerconnection.enabled" = true;
|
||||
|
||||
# Disable the clipboardevents.
|
||||
# Disable that websites can get notifications if you copy, paste, or cut something
|
||||
# from a web page, and it lets them know which part of the page had been selected.
|
||||
# Disable the clipboardevents.
|
||||
# Disable that websites can get notifications if you copy, paste, or cut something
|
||||
# from a web page, and it lets them know which part of the page had been selected.
|
||||
"dom.event.clipboardevents.enabled" = false;
|
||||
|
||||
# Disable Fixup URLs
|
||||
# When you type "something" in the urlbar and press enter, Firefox tries
|
||||
# "something.com", if Fixup URLs is enabled.
|
||||
# Disable Fixup URLs
|
||||
# When you type "something" in the urlbar and press enter, Firefox tries
|
||||
# "something.com", if Fixup URLs is enabled.
|
||||
"browser.fixup.alternate.enabled" = false;
|
||||
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
# Disable google safebrowsing
|
||||
# Google safebrowsing can detect phishing and malware but it also sends
|
||||
# informations to google together with an unique id called wrkey
|
||||
# (http://electroholiker.de/?p=1594).
|
||||
# Disable google safebrowsing
|
||||
# Google safebrowsing can detect phishing and malware but it also sends
|
||||
# information to google together with an unique id called wrkey
|
||||
# (http://electroholiker.de/?p=1594).
|
||||
"browser.safebrowsing.enabled" = false;
|
||||
"browser.safebrowsing.downloads.remote.url" = "";
|
||||
"browser.safebrowsing.phishing.enabled" = false;
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
{
|
||||
|
||||
# Disable Firefox Suggest
|
||||
# The Firefox Suggest
|
||||
# (https://support.mozilla.org/en-US/kb/navigate-web-faster-firefox-suggest)
|
||||
# feature allows Mozilla to provide search suggestions in the US, which uses your
|
||||
# city location and search keywords to send suggestions. This is also used to
|
||||
# serve advertisements.
|
||||
# Disable Firefox Suggest
|
||||
# The Firefox Suggest
|
||||
# (https://support.mozilla.org/en-US/kb/navigate-web-faster-firefox-suggest)
|
||||
# feature allows Mozilla to provide search suggestions in the US, which uses your
|
||||
# city location and search keywords to send suggestions. This is also used to
|
||||
# serve advertisements.
|
||||
"browser.urlbar.groupLabels.enabled" = false;
|
||||
"browser.urlbar.quicksuggest.enabled" = false;
|
||||
"browser.urlbar.suggest.addons" = false;
|
||||
|
@ -17,9 +16,9 @@
|
|||
"browser.urlbar.suggest.searches" = false;
|
||||
"browser.urlbar.suggest.topsites" = false;
|
||||
|
||||
# Enable Search Keyword
|
||||
# When you mistype some url, Firefox starts a search even from urlbar. This
|
||||
# feature is useful for quick searching, but may harm your privacy, when it's
|
||||
# unintended.
|
||||
"keyword.enabled" = true;
|
||||
# Enable Search Keyword
|
||||
# When you mistype some url, Firefox starts a search even from urlbar. This
|
||||
# feature is useful for quick searching, but may harm your privacy, when it's
|
||||
# unintended.
|
||||
"keyword.enabled" = true;
|
||||
}
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
{
|
||||
|
||||
# Disable Telemetry
|
||||
# The telemetry feature
|
||||
# (https://support.mozilla.org/kb/share-telemetry-data-mozilla-help-improve-firefox)
|
||||
# sends data about the performance and responsiveness of Firefox to Mozilla.
|
||||
# Disable Telemetry
|
||||
# The telemetry feature
|
||||
# (https://support.mozilla.org/kb/share-telemetry-data-mozilla-help-improve-firefox)
|
||||
# sends data about the performance and responsiveness of Firefox to Mozilla.
|
||||
"toolkit.telemetry.enabled" = false;
|
||||
"toolkit.telemetry.archive.enabled" = false;
|
||||
"toolkit.telemetry.rejected" = true;
|
||||
|
@ -20,20 +19,19 @@
|
|||
"toolkit.telemetry.hybridContent.enabled" = false;
|
||||
"toolkit.telemetry.reportingpolicy.firstRun" = false;
|
||||
|
||||
# Disable health report
|
||||
# Disable sending Firefox health reports
|
||||
# (https://www.mozilla.org/privacy/firefox/#health-report) to Mozilla
|
||||
# Disable health report
|
||||
# Disable sending Firefox health reports
|
||||
# (https://www.mozilla.org/privacy/firefox/#health-report) to Mozilla
|
||||
"datareporting.healthreport.uploadEnabled" = false;
|
||||
"datareporting.policy.dataSubmissionEnabled" = false;
|
||||
"datareporting.healthreport.service.enabled" = false;
|
||||
|
||||
# Disable Crash Reports
|
||||
# The crash report (https://www.mozilla.org/privacy/firefox/#crash-reporter) may
|
||||
# contain data that identifies you or is otherwise sensitive to you.
|
||||
# Disable Crash Reports
|
||||
# The crash report (https://www.mozilla.org/privacy/firefox/#crash-reporter) may
|
||||
# contain data that identifies you or is otherwise sensitive to you.
|
||||
"breakpad.reportURL" = "";
|
||||
"browser.tabs.crashReporting.sendReport" = false;
|
||||
"browser.crashReports.unsubmittedCheck.enabled" = false;
|
||||
"browser.crashReports.unsubmittedCheck.autoSubmit" = false;
|
||||
"browser.crashReports.unsubmittedCheck.autoSubmit2" = false;
|
||||
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"extensions.activeThemeID" = "firefox-compact-dark@mozilla.org";
|
||||
"browser.uidensity" = 1;
|
||||
|
||||
# New tab behaviour
|
||||
# New tab behaviour
|
||||
"browser.newtabpage.activity-stream.showSearch" = false;
|
||||
"browser.newtabpage.activity-stream.feeds.topsites" = false;
|
||||
"browser.newtabpage.activity-stream.feeds.section.highlights" = false;
|
||||
|
@ -11,30 +11,30 @@
|
|||
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
|
||||
"browser.newtabpage.activity-stream.showSponsored" = false;
|
||||
|
||||
# Mozilla messages and recommendations
|
||||
# Mozilla messages and recommendations
|
||||
"browser.messaging-system.whatsNewPanel.enabled" = false;
|
||||
"browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons" = false;
|
||||
"browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features" = false;
|
||||
"browser.aboutwelcome.enabled" = false;
|
||||
"browser.preferences.moreFromMozilla" = false;
|
||||
|
||||
# Do not save my logins
|
||||
# Do not save my logins
|
||||
"signon.rememberSignons" = false;
|
||||
|
||||
# do not override status page
|
||||
# do not override status page
|
||||
"startup.homepage_override_url" = "";
|
||||
"startup.homepage_welcome_url" = "";
|
||||
|
||||
# do not show bookmark page
|
||||
# do not show bookmark page
|
||||
"browser.toolbars.bookmarks.visibility" = "never";
|
||||
|
||||
# disable fucking included malwares
|
||||
# disable fucking included malwares
|
||||
"browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.havePinned" = "";
|
||||
"browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.searchEngines" = "";
|
||||
"browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts" = false;
|
||||
"browser.newtabpage.pinned" = "";
|
||||
|
||||
# Theme customization
|
||||
# Theme customization
|
||||
"browser.uiCustomization.state" = builtins.toJSON {
|
||||
currentVersion = 20;
|
||||
newElementCount = 4;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
|
||||
# Enable Do-not-Track
|
||||
# Enable Do-not-Track
|
||||
# With the do not track feature, you tell websites, that you do not want to be
|
||||
# tracked. Most websites ignore this, so you need other privacy options as well.
|
||||
"privacy.donottrackheader.enabled" = true;
|
||||
|
|
|
@ -1,25 +1,28 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
with lib;
|
||||
let
|
||||
merge = foldr (a: b: a // b) { };
|
||||
cfg = config.modules.web.firefox;
|
||||
in
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
merge = foldr (a: b: a // b) {};
|
||||
cfg = config.modules.web.firefox;
|
||||
in {
|
||||
options.modules.web.firefox = {
|
||||
enable = mkEnableOption "enable Firefox web browser";
|
||||
|
||||
baseExtensions = mkOption {
|
||||
type = types.listOf types.package;
|
||||
default = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
browserpass
|
||||
consent-o-matic
|
||||
cookie-autodelete
|
||||
darkreader
|
||||
decentraleyes
|
||||
tridactyl
|
||||
ublock-origin
|
||||
privacy-badger
|
||||
];
|
||||
browserpass
|
||||
consent-o-matic
|
||||
cookie-autodelete
|
||||
darkreader
|
||||
decentraleyes
|
||||
tridactyl
|
||||
ublock-origin
|
||||
privacy-badger
|
||||
];
|
||||
description = "Base Firefox Plugins to install";
|
||||
};
|
||||
|
||||
|
@ -28,7 +31,6 @@ in
|
|||
default = [];
|
||||
description = "Optional Firefox Plugins to install";
|
||||
};
|
||||
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs.browserpass = {
|
||||
|
@ -67,10 +69,10 @@ in
|
|||
'';
|
||||
|
||||
programs.firefox = let
|
||||
allExtensions = cfg.baseExtensions ++ cfg.optionalExtensions;
|
||||
allExtensions = cfg.baseExtensions ++ cfg.optionalExtensions;
|
||||
in {
|
||||
enable = true;
|
||||
package = config.lib.nixGL.wrap ( pkgs.wrapFirefox pkgs.firefox-unwrapped {
|
||||
package = config.lib.nixGL.wrap (pkgs.wrapFirefox pkgs.firefox-unwrapped {
|
||||
nativeMessagingHosts = [
|
||||
# Tridactyl native connector
|
||||
pkgs.tridactyl-native
|
||||
|
@ -85,24 +87,32 @@ in
|
|||
search = {
|
||||
force = true;
|
||||
default = "ddg";
|
||||
engines = {
|
||||
engines = {
|
||||
"Nix Packages" = {
|
||||
urls = [{
|
||||
template = "https://search.nixos.org/packages";
|
||||
params = [
|
||||
{ name = "type"; value = "packages"; }
|
||||
{ name = "query"; value = "{searchTerms}"; }
|
||||
];
|
||||
}];
|
||||
urls = [
|
||||
{
|
||||
template = "https://search.nixos.org/packages";
|
||||
params = [
|
||||
{
|
||||
name = "type";
|
||||
value = "packages";
|
||||
}
|
||||
{
|
||||
name = "query";
|
||||
value = "{searchTerms}";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||
definedAliases = [ "@np" ];
|
||||
definedAliases = ["@np"];
|
||||
};
|
||||
|
||||
"NixOS Wiki" = {
|
||||
urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }];
|
||||
urls = [{template = "https://nixos.wiki/index.php?search={searchTerms}";}];
|
||||
icon = "https://nixos.wiki/favicon.png";
|
||||
updateInterval = 24 * 60 * 60 * 1000; # every day
|
||||
definedAliases = [ "@nw" ];
|
||||
definedAliases = ["@nw"];
|
||||
};
|
||||
|
||||
"bing".metaData.hidden = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue