2023-09-12 08:44:05 -06:00
|
|
|
{ ... }: {
|
2023-05-20 18:31:25 -06:00
|
|
|
programs = {
|
|
|
|
firefox = {
|
|
|
|
enable = true;
|
|
|
|
policies = {
|
|
|
|
DisableFirefoxStudies = true;
|
|
|
|
DisableFormHistory = true;
|
|
|
|
DisablePocket = true;
|
|
|
|
DisableTelemetry = true;
|
2024-05-14 07:30:51 -06:00
|
|
|
EnableTrackingProtection = {
|
|
|
|
Fingerprinting = true;
|
|
|
|
Cryptomining = true;
|
|
|
|
EmailTracking = true;
|
|
|
|
};
|
2023-05-20 18:31:25 -06:00
|
|
|
ExtensionSettings = {
|
|
|
|
"{d634138d-c276-4fc8-924b-40a0ea21d284}" = {
|
|
|
|
"installation_mode" = "force_installed";
|
2023-07-11 09:12:50 -06:00
|
|
|
"install_url" = "https://addons.mozilla.org/firefox/downloads/latest/1password-x-password-manager/latest.xpi";
|
2023-05-20 18:31:25 -06:00
|
|
|
};
|
|
|
|
"custom-new-tab-page@mint.as" = {
|
|
|
|
"installation_mode" = "force_installed";
|
2023-07-11 09:12:50 -06:00
|
|
|
"install_url" = "https://addons.mozilla.org/firefox/downloads/latest/custom-new-tab-page/latest.xpi";
|
2023-05-20 18:31:25 -06:00
|
|
|
};
|
|
|
|
"simple-tab-groups@drive4ik" = {
|
|
|
|
"installation_mode" = "force_installed";
|
2023-07-11 09:12:50 -06:00
|
|
|
"install_url" = "https://addons.mozilla.org/firefox/downloads/latest/simple-tab-groups/latest.xpi";
|
2023-05-20 18:31:25 -06:00
|
|
|
};
|
2024-08-29 06:07:37 -06:00
|
|
|
"{07c6b8e1-94f7-4bbf-8e91-26c0a8992ab5}" = {
|
|
|
|
"installation_mode" = "force_installed";
|
|
|
|
"install_url" = "https://addons.mozilla.org/firefox/downloads/latest/promnesia/latest.xpi";
|
|
|
|
};
|
2023-05-20 18:31:25 -06:00
|
|
|
"7esoorv3@alefvanoon.anonaddy.me" = {
|
|
|
|
"installation_mode" = "force_installed";
|
2023-07-11 09:12:50 -06:00
|
|
|
"install_url" = "https://addons.mozilla.org/firefox/downloads/latest/libredirect/latest.xpi";
|
2023-05-20 18:31:25 -06:00
|
|
|
};
|
|
|
|
"uBlock0@raymondhill.net" = {
|
|
|
|
"installation_mode" = "force_installed";
|
2023-07-11 09:12:50 -06:00
|
|
|
"install_url" = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
|
2023-05-20 18:31:25 -06:00
|
|
|
};
|
2023-09-09 07:33:46 -06:00
|
|
|
"@testpilot-containers" = {
|
|
|
|
"installation_mode" = "force_installed";
|
|
|
|
"install_url" = "https://addons.mozilla.org/firefox/downloads/latest/multi-account-containers/latest.xpi";
|
|
|
|
};
|
2023-10-02 10:29:12 -06:00
|
|
|
"jid1-MnnxcxisBPnSXQ@jetpack" = {
|
|
|
|
"installation_mode" = "force_installed";
|
|
|
|
"install_url" = "https://addons.mozilla.org/firefox/downloads/latest/privacy-badger17/latest.xpi";
|
|
|
|
};
|
2023-09-09 07:33:46 -06:00
|
|
|
"floccus@handmadeideas.org" = {
|
|
|
|
"installation_mode" = "normal_installed";
|
|
|
|
"install_url" = "https://addons.mozilla.org/firefox/downloads/latest/floccus/latest.xpi";
|
|
|
|
};
|
2023-05-20 18:31:25 -06:00
|
|
|
};
|
2023-05-20 19:24:54 -06:00
|
|
|
FirefoxHome = {
|
|
|
|
Search = false;
|
|
|
|
TopSites = false;
|
|
|
|
SponsoredTopSites = false;
|
|
|
|
Highlights = false;
|
|
|
|
Pocket = false;
|
|
|
|
SponsoredPocket = false;
|
|
|
|
Snippets = false;
|
|
|
|
Locked = true;
|
|
|
|
};
|
2023-05-20 18:31:25 -06:00
|
|
|
NetworkPrediction = true;
|
|
|
|
NoDefaultBookmarks = true;
|
2023-05-21 13:11:35 -06:00
|
|
|
OfferToSaveLogins = false;
|
2023-05-20 18:31:25 -06:00
|
|
|
PasswordManagerEnabled = false;
|
|
|
|
SearchBar = "unified";
|
2023-05-20 19:24:54 -06:00
|
|
|
SearchEngines = {
|
|
|
|
Add = [
|
|
|
|
{
|
|
|
|
Name = "Kagi";
|
|
|
|
URLTemplate = "https://kagi.com/search?q={searchTerms}";
|
|
|
|
Method = "GET";
|
|
|
|
Alias = "k";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
Name = "OpenBSD.app";
|
|
|
|
URLTemplate = "https://openbsd.app/?search={searchTerms}";
|
|
|
|
Method = "GET";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
Default = "Kagi";
|
|
|
|
Remove = [
|
|
|
|
"Google"
|
|
|
|
"Amazon.com"
|
|
|
|
"Bing"
|
|
|
|
"eBay"
|
|
|
|
"Wikipedia (en)"
|
|
|
|
"DuckDuckGo"
|
|
|
|
];
|
|
|
|
};
|
2023-05-20 18:31:25 -06:00
|
|
|
SearchSuggestEnabled = false;
|
2023-05-21 07:10:47 -06:00
|
|
|
UserMessaging = {
|
|
|
|
WhatsNew = false;
|
|
|
|
ExtensionRecommendations = false;
|
|
|
|
FeatureRecommendations = false;
|
|
|
|
UrlbarInterventions = false;
|
|
|
|
SkipOnboarding = false;
|
|
|
|
MoreFromMozilla = false;
|
|
|
|
};
|
2024-04-11 11:05:18 -06:00
|
|
|
PDFjs = {
|
|
|
|
Enabled = false;
|
|
|
|
};
|
2023-05-20 18:31:25 -06:00
|
|
|
};
|
2024-03-19 06:29:05 -06:00
|
|
|
# NOTE: https://mozilla.github.io/policy-templates/
|
|
|
|
# Items can be found here ^
|
2023-05-20 18:31:25 -06:00
|
|
|
preferences = {
|
|
|
|
"dom.event.clipboardevents.enabled" = false;
|
2023-06-01 10:53:29 -06:00
|
|
|
"dom.serviceWorkers.enabled" = false;
|
2024-05-14 07:30:51 -06:00
|
|
|
|
|
|
|
# This causes some issues with a few things I use
|
2023-05-26 13:33:38 -06:00
|
|
|
#"media.peerconnection.enabled" = false;
|
2023-05-20 18:31:25 -06:00
|
|
|
|
|
|
|
"browser.aboutConfig.showWarning" = false;
|
|
|
|
"browser.contentblocking.category" = "strict";
|
2024-05-14 07:30:51 -06:00
|
|
|
"browser.newtabpage.activity-stream.feeds.recommendationprovider" = false;
|
2023-05-20 18:31:25 -06:00
|
|
|
"browser.newtabpage.activity-stream.feeds.section.topstories" = false;
|
2024-05-14 07:30:51 -06:00
|
|
|
"browser.newtabpage.activity-stream.section.highlights.includeBookmarks" = false;
|
|
|
|
"browser.newtabpage.activity-stream.section.highlights.includeDownloads" = false;
|
|
|
|
"browser.newtabpage.activity-stream.section.highlights.includePocket" = false;
|
|
|
|
"browser.newtabpage.activity-stream.section.highlights.includeVisited" = false;
|
2023-05-20 18:31:25 -06:00
|
|
|
"browser.newtabpage.activity-stream.showSearch" = false;
|
|
|
|
"browser.newtabpage.activity-stream.showSponsored" = false;
|
|
|
|
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
|
|
|
|
"browser.newtabpage.activity-stream.telemetry" = false;
|
2023-07-11 09:12:50 -06:00
|
|
|
"browser.newtabpage.activity-stream.telemetry.structuredIngestion.endpoint" = "http://127.0.0.1/null";
|
2023-05-20 18:31:25 -06:00
|
|
|
"browser.newtabpage.enabled" = false;
|
|
|
|
"browser.newtabpage.pinned" = false;
|
2023-05-26 13:27:38 -06:00
|
|
|
"browser.promo.focus.enabled" = false;
|
|
|
|
"browser.promo.pin.enabled" = false;
|
2023-05-20 18:31:25 -06:00
|
|
|
"browser.search.suggest.enabled" = false;
|
|
|
|
"browser.search.update" = false;
|
|
|
|
"browser.topsites.contile.enabled" = false;
|
2024-05-14 07:30:51 -06:00
|
|
|
"browser.urlbar.suggest.calculator" = true;
|
|
|
|
"browser.urlbar.suggest.pocket" = false;
|
2023-05-20 18:31:25 -06:00
|
|
|
"browser.urlbar.suggest.quicksuggest.nonsponsored" = false;
|
|
|
|
"browser.urlbar.suggest.quicksuggest.sponsored" = false;
|
|
|
|
"browser.urlbar.suggest.searches" = false;
|
2024-05-14 07:30:51 -06:00
|
|
|
"browser.urlbar.suggest.topsites" = false;
|
|
|
|
"browser.urlbar.suggest.trending" = false;
|
|
|
|
"browser.urlbar.suggest.yelp" = false;
|
2023-05-20 18:31:25 -06:00
|
|
|
"browser.urlbar.trimURLs" = false;
|
2023-05-26 13:27:38 -06:00
|
|
|
"browser.vpn_promo.enabled" = false;
|
2023-05-20 18:31:25 -06:00
|
|
|
"datareporting.healthreport.uploadEnabled" = false;
|
|
|
|
"devtools.cache.disabled" = true;
|
2024-07-05 12:41:56 -06:00
|
|
|
"dom.block_download_insecure" = false;
|
2024-07-15 08:14:23 -06:00
|
|
|
"dom.private-attribution.submission.enabled" = false;
|
2023-05-20 18:31:25 -06:00
|
|
|
"extensions.pocket.enabled" = false;
|
2023-06-07 12:56:00 -06:00
|
|
|
"extensions.screenshots.disabled" = true;
|
2023-05-20 18:31:25 -06:00
|
|
|
"geo.enabled" = false;
|
|
|
|
"geo.provider.network.url" = "";
|
|
|
|
"geo.provider.use_geoclue" = false;
|
|
|
|
"network.dns.disablePrefetch" = true;
|
|
|
|
"network.http.speculative-parallel-limit" = 0;
|
|
|
|
"network.IDN_show_punycode" = true;
|
|
|
|
"network.predictor.enabled" = false;
|
|
|
|
"network.prefetch-next" = false;
|
2024-01-08 09:34:06 -07:00
|
|
|
"security.OCSP.enabled" = 0;
|
2023-05-21 13:11:35 -06:00
|
|
|
"security.ssl.errorReporting.enabled" = false;
|
|
|
|
|
|
|
|
# Not yet working:
|
|
|
|
"beacon.enabled" = false;
|
2023-05-20 18:31:25 -06:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|