about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-09-16 15:22:19 +0300
committerAzat Bahawi <azat@bahawi.net>2023-09-16 15:22:19 +0300
commit59858431bc7b80d4114056ea95099066be6e4643 (patch)
treebf3a3668a9c847c1e4ffede641f574ef703fa31f
parent2023-09-16 (diff)
2023-09-16
-rw-r--r--modules/nixos/firefox/default.nix22
1 files changed, 11 insertions, 11 deletions
diff --git a/modules/nixos/firefox/default.nix b/modules/nixos/firefox/default.nix
index e5b54fe..11375a6 100644
--- a/modules/nixos/firefox/default.nix
+++ b/modules/nixos/firefox/default.nix
@@ -470,9 +470,12 @@ in {
             "0900".enable = true;
             "1000" = {
               enable = true;
-              "1001"."browser.cache.disk.enable" = {
+              "1001" = {
                 enable = true;
-                value = true;
+                "browser.cache.disk.enable" = {
+                  enable = true;
+                  value = true;
+                };
               };
             };
             "1200".enable = true;
@@ -505,7 +508,6 @@ in {
           settings = {
             "app.update.auto" = false;
             "browser.backspace_action" = 0;
-            "browser.bookmarks.max_backups" = 1;
             "browser.disableResetPrompt" = true;
             "browser.download.autohideButton" = false;
             "browser.eme.ui.enabled" = false;
@@ -513,22 +515,22 @@ in {
             "browser.newtabpage.activity-stream.feeds.topsites" = false;
             "browser.newtabpage.introShown" = true;
             "browser.onboarding.enabled" = false;
+            "browser.open.lastDir" = config.my.home;
+            "browser.protections_panel.infoMessage.seen" = true;
+            "browser.region.update.region" = "US";
             "browser.search.region" = "US";
             "browser.search.update" = false;
-            "browser.startup.homepage_welcome_url" = "";
-            "browser.startup.homepage_welcome_url.additional" = "";
             "browser.tabs.closeWindowWithLastTab" = true;
             "browser.tabs.firefox-view" = false;
-            "browser.tabs.inTitlebar" =
-              if config.nixfiles.modules.kde.enable
-              then 1
-              else 0;
+            "browser.tabs.inTitlebar" = 1;
             "browser.tabs.warnOnClose" = false;
             "browser.tabs.warnOnCloseOtherTabs" = false;
             "browser.tabs.warnOnOpen" = false;
             "browser.toolbars.bookmarks.visibility" = "never";
             "browser.urlbar.decodeURLsOnCopy" = true;
             "browser.warnOnQuitShortcut" = false;
+            "devtools.everOpened" = true;
+            "doh-rollout.home-region" = "US";
             "extensions.pocket.enabled" = false;
             "extensions.screenshots.disabled" = true;
             "extensions.update.autoUpdateDefault" = false;
@@ -537,11 +539,9 @@ in {
             "full-screen-api.warning.timeout" = 0;
             "general.autoScroll" = true;
             "general.smoothScroll" = true;
-            "gfx.font_rendering.opentype_svg.enabled" = false;
             "identity.fxaccounts.enabled" = false;
             "media.autoplay.blocking_policy" = 2;
             "media.autoplay.default" = 5;
-            "media.autoplay.enabled" = false;
             "media.eme.enabled" = false;
             "media.hardwaremediakeys.enabled" = false;
             "reader.parse-on-load.enabled" = false;

Consider giving Nix/NixOS a try! <3