From 562af678770dff83b66d0dae672ebabd507241c8 Mon Sep 17 00:00:00 2001 From: Christian Harke Date: Tue, 14 Nov 2023 21:32:04 +0100 Subject: [PATCH] Configure Firefox's new tab page pins --- home/programs/firefox/default.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/home/programs/firefox/default.nix b/home/programs/firefox/default.nix index 919d09d2..8d9576ad 100644 --- a/home/programs/firefox/default.nix +++ b/home/programs/firefox/default.nix @@ -87,6 +87,33 @@ in }; force = true; }; + settings = { + "browser.search.suggest.enabled" = false; + "browser.search.region" = "CH"; + "browser.startup.homepage" = cfg.homepage; + "browser.newtabpage.pinned" = [ + { + title = "Blog"; + url = "https://blog.harke.ch"; + } + { + title = "Cloud"; + url = "https://cloud.harke.ch"; + } + { + title = "Code"; + url = "https://code.harke.ch"; + } + { + title = "News"; + url = "https://news.harke.ch"; + } + { + title = "ProtonMail"; + url = "https://mail.proton.me"; + } + ]; + }; }; }; };