68 lines
3.5 KiB
Nix
68 lines
3.5 KiB
Nix
{ unstable, ... }: {
|
|
programs.firefox = {
|
|
enable = true;
|
|
package = unstable.pkgs.firefox;
|
|
policies = {
|
|
DisableTelemetry = false;
|
|
DisablePocket = true;
|
|
DisableFirefoxStudies = true;
|
|
DontCheckDefaultBrowser = true;
|
|
SearchBar = "unified";
|
|
|
|
Preferences = {};
|
|
|
|
# about:debugging#/runtime/this-firefox
|
|
ExtensionSettings = {
|
|
# uBlock Origin
|
|
"uBlock0@raymondhill.net" = {
|
|
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
|
|
installation_mode = "force_installed";
|
|
};
|
|
# Vimium
|
|
"{d7742d87-e61d-4b78-b8a1-b469842139fa}" = {
|
|
install_url = "https://addons.mozilla.org/firefox/downloads/file/4191523/vimium_ff-2.0.6.xpi";
|
|
installation_mode = "force_installed";
|
|
};
|
|
# BrowserPass
|
|
"browserpass@maximbaz.com" = {
|
|
install_url = "https://addons.mozilla.org/firefox/downloads/file/4187654/browserpass_ce-3.8.0.xpi";
|
|
installation_mode = "force_installed";
|
|
};
|
|
# LibRedirect
|
|
"7esoorv3@alefvanoon.anonaddy.me" = {
|
|
install_url = "https://addons.mozilla.org/firefox/downloads/file/4248205/libredirect-2.8.2.xpi";
|
|
installation_mode = "force_installed";
|
|
};
|
|
# New Tab Homepage
|
|
"{66E978CD-981F-47DF-AC42-E3CF417C1467}" = {
|
|
install_url = "https://addons.mozilla.org/firefox/downloads/file/4270256/new_tab_homepage-0.6.3resigned1.xpi";
|
|
installation_mode = "force_installed";
|
|
};
|
|
};
|
|
};
|
|
|
|
profiles.lauren = {
|
|
settings = {
|
|
"browser.uiCustomization.state" = ''
|
|
{"placements":{"widget-overflow-fixed-list":[],"unified-extensions-area":[],"nav-bar":["back-button","forward-button","stop-reload-button","customizableui-special-spring1","urlbar-container","customizableui-special-spring2","save-to-pocket-button","downloads-button","fxa-toolbar-menu-button","unified-extensions-button","browserpass_maximbaz_com-browser-action","_d7742d87-e61d-4b78-b8a1-b469842139fa_-browser-action","ublock0_raymondhill_net-browser-action","7esoorv3_alefvanoon_anonaddy_me-browser-action"],"toolbar-menubar":["menubar-items"],"TabsToolbar":["firefox-view-button","tabbrowser-tabs","new-tab-button","alltabs-button"],"PersonalToolbar":["import-button","personal-bookmarks"]},"seen":["developer-button","_d7742d87-e61d-4b78-b8a1-b469842139fa_-browser-action","browserpass_maximbaz_com-browser-action","ublock0_raymondhill_net-browser-action","7esoorv3_alefvanoon_anonaddy_me-browser-action"],"dirtyAreaCache":["nav-bar","PersonalToolbar","unified-extensions-area","toolbar-menubar","TabsToolbar"],"currentVersion":20,"newElementCount":2}
|
|
'';
|
|
"signon.rememberSignons" = false;
|
|
"browser.aboutConfig.showWarning" = false;
|
|
"widget.disable-workspace-management" = true;
|
|
"browser.startup.homepage" = "https://git.mlaga97.space/household/household/issues";
|
|
"browser.toolbars.bookmarks.visibility" = "always";
|
|
|
|
# Attempting to minimize the amount of crap that happens at first startup
|
|
"app.normandy.first_run" = false;
|
|
"browser.startup.firstrunSkipsHomepage" = false;
|
|
"doh-rollout.doneFirstRun" = true;
|
|
"toolkit.telemetry.reportingpolicy.firstRun" = false;
|
|
"trailhead.firstrun.didSeeAboutWelcome" = true;
|
|
"trailhead.firstrun.branches" = "nofirstrun-empty";
|
|
"browser.aboutwelcome.enabled" = false;
|
|
"browser.newtab.extensionControlled" = true;
|
|
};
|
|
};
|
|
};
|
|
}
|