change firefox settings

This commit is contained in:
Freya Murphy 2024-11-13 12:43:29 -05:00
parent 91736b76e2
commit 7e8c1dc81f
Signed by: freya
GPG key ID: 9FBC6FFD6D2DBF17

View file

@ -14,8 +14,6 @@
programs.firefox = { programs.firefox = {
enable = true; enable = true;
package = (nixGL pkgs.firefox);
policies = { policies = {
EnableTrackingProtection = { EnableTrackingProtection = {
Value = true; Value = true;
@ -71,6 +69,7 @@
}; };
# Disable Password Manager # Disable Password Manager
DisableMasterPasswordCreation = true;
PasswordManagerEnabled = false; PasswordManagerEnabled = false;
PrimaryPassword = false; PrimaryPassword = false;
OfferToSaveLogins = false; OfferToSaveLogins = false;
@ -197,6 +196,9 @@
Value = " about:home"; Value = " about:home";
Status = "locked"; Status = "locked";
}; };
# autofill
"browser.autofill.enabled" = lock-false;
"browser.formfill.enable" = lock-false;
# search enable # search enable
"browser.urlbar.suggest.recentsearches" = lock-true; "browser.urlbar.suggest.recentsearches" = lock-true;
"browser.urlbar.suggest.bookmark" = lock-true; "browser.urlbar.suggest.bookmark" = lock-true;
@ -231,13 +233,6 @@
# graphics # graphics
"dom.webgpu.enabled" = lock-true; "dom.webgpu.enabled" = lock-true;
"media.eme.enabled" = lock-true; "media.eme.enabled" = lock-true;
# tabs
"browser.tabs.inTitlebar" = {
Value = 0;
Status = "locked";
};
"browser.tabs.warnOnClose" = lock-true;
"browser.tabs.firefox-view" = lock-false;
# user messaging # user messaging
"browser.newtabpage.activity-stream.feeds.section.topstories" = lock-false; "browser.newtabpage.activity-stream.feeds.section.topstories" = lock-false;
"browser.newtabpage.activity-stream.feeds.snippets" = lock-false; "browser.newtabpage.activity-stream.feeds.snippets" = lock-false;
@ -255,20 +250,24 @@
"browser.safebrowsing.downloads.remote.block_uncommon" = lock-false; "browser.safebrowsing.downloads.remote.block_uncommon" = lock-false;
"browser.safebrowsing.downloads.remote.block_potentially_unwanted" = lock-false; "browser.safebrowsing.downloads.remote.block_potentially_unwanted" = lock-false;
# sidebar # sidebar
"sidebar.revamp" = lock-true; "browser.tabs.inTitlebar" = {
"sidebar.verticalTabs" = lock-true; Value = 0;
Status = "locked";
};
"browser.tabs.warnOnClose" = lock-true;
"browser.tabs.firefox-view" = lock-false;
"sidebar.revamp" = {
Comment = "Preference not allowed for stability reasons.";
Status = "default";
Type = "boolean";
Value = true;
};
"sidebar.main.tools" = { "sidebar.main.tools" = {
Value = ""; Value = "";
Status = "locked"; Status = "locked";
}; };
"browser.tabs.closeTabByDblclick" = lock-true; "browser.tabs.closeTabByDblclick" = lock-true;
"ui.key.menuAccessKeyFocuses" = lock-false; "ui.key.menuAccessKeyFocuses" = lock-false;
};
};
profiles = {
"freya" = {
settings = {
# general settings # general settings
"general.autoScroll" = lock-false; "general.autoScroll" = lock-false;
"general.smoothScroll" = lock-true; "general.smoothScroll" = lock-true;
@ -277,7 +276,12 @@
"accessibility.typeaheadfind" = lock-false; "accessibility.typeaheadfind" = lock-false;
"media.hardwaremediakeys.enabled" = lock-true; "media.hardwaremediakeys.enabled" = lock-true;
"browser.crashReports.unsubmittedCheck.autoSubmit2" = lock-false; "browser.crashReports.unsubmittedCheck.autoSubmit2" = lock-false;
"browser.aboutConfig.showWarning" = lock-false;
}; };
};
profiles = {
"freya" = {
search = { search = {
force = true; force = true;
default = "DuckDuckGo"; default = "DuckDuckGo";