From 02f4b51d105d914f0213033e0f770f1f5c3e86ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Wed, 26 Nov 2025 17:37:42 +0800 Subject: [PATCH 1/2] home/zen: don't resume session --- nix/homeModules/common/zen-browser.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nix/homeModules/common/zen-browser.nix b/nix/homeModules/common/zen-browser.nix index c6681318..4b8227ea 100644 --- a/nix/homeModules/common/zen-browser.nix +++ b/nix/homeModules/common/zen-browser.nix @@ -52,12 +52,20 @@ in # # TODO: try out the "locked" semantic from zen # https://github.com/0xc000022070/zen-browser-flake/tree/main#preferences + # + # To check which option is mapped to which about:config + # - back preference file + # cp .zen/default/prefs.js{,.bk} + # - click the buttons + # - diff it + # diff .zen/default/prefs.js{.bk,} profiles.default = { settings = { "toolkit.legacyUserProfileCustomizations.stylesheets" = true; "browser.tabs.loadInBackground" = true; "browser.ctrlTab.sortByRecentlyUsed" = false; "layout.css.devPixelsPerPx" = 1.1; + "browser.startup.page" = 1; # open links in new window # this works a lot better with xmonad where I have a bunch of windows From c7cb48a6ec3535737fed7bf45d1a159eac4d3931 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Wed, 26 Nov 2025 19:25:13 +0800 Subject: [PATCH 2/2] vanadium/firefox: disable, use zen --- nix/configurations/vanadium/home/firefox.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/configurations/vanadium/home/firefox.nix b/nix/configurations/vanadium/home/firefox.nix index aab6da3f..6edc85cb 100644 --- a/nix/configurations/vanadium/home/firefox.nix +++ b/nix/configurations/vanadium/home/firefox.nix @@ -8,7 +8,7 @@ let in { programs.firefox = { - enable = true; + enable = false; policies.SearchEngines.Add = [ # Forges