Commit 82f9b4521555

Vincent Demeester <vincent@sbr.pm>
2026-02-04 15:06:34
home/firefox, services/homepage: improve new tab experience
- Add Quick Links section at top of homepage dashboard for quick access - Configure Firefox homepage to homepage.sbr.pm - Add New Tab Override extension for custom new tab page Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 3315e8c
Changed files (2)
home
common
systems
common
home/common/desktop/firefox.nix
@@ -8,7 +8,17 @@
     # (https://github.com/NixOS/nixpkgs/pull/105796)
     package = pkgs.wrapFirefox pkgs.firefox-unwrapped {
       extraPolicies = {
-        ExtensionSettings = { };
+        ExtensionSettings = {
+          # New Tab Override - set custom new tab page
+          "newtaboverride@nicoh.dev" = {
+            installation_mode = "force_installed";
+            install_url = "https://addons.mozilla.org/firefox/downloads/latest/new-tab-override/latest.xpi";
+          };
+        };
+        Homepage = {
+          URL = "https://homepage.sbr.pm";
+          StartPage = "homepage";
+        };
         CaptivePortal = false;
         DisableFirefoxStudies = true;
         DisablePocket = true;
systems/common/services/homepage.nix
@@ -57,6 +57,12 @@ in
       color = "slate";
 
       layout = [
+        {
+          "Quick Links" = {
+            style = "row";
+            columns = 5;
+          };
+        }
         {
           Media = {
             style = "row";
@@ -91,6 +97,80 @@ in
     };
 
     services = [
+      {
+        "Quick Links" = [
+          {
+            "Notifications" = {
+              description = "GitHub Notifications";
+              href = "https://github.com/notifications";
+              icon = "github.png";
+            };
+          }
+          {
+            "Issues" = {
+              description = "GitHub Issues";
+              href = "https://github.com/issues";
+              icon = "github.png";
+            };
+          }
+          {
+            "Pull Requests" = {
+              description = "GitHub PRs";
+              href = "https://github.com/pulls";
+              icon = "github.png";
+            };
+          }
+          {
+            "NixOS Packages" = {
+              description = "Package Search";
+              href = "https://search.nixos.org/packages";
+              icon = "nixos.png";
+            };
+          }
+          {
+            "NixOS Options" = {
+              description = "Options Search";
+              href = "https://search.nixos.org/options";
+              icon = "nixos.png";
+            };
+          }
+          {
+            "Home Manager" = {
+              description = "Options Search";
+              href = "https://home-manager-options.extranix.com";
+              icon = "nixos.png";
+            };
+          }
+          {
+            SourceHut = {
+              description = "~vdemeester";
+              href = "https://sr.ht/~vdemeester";
+              icon = "si-sourcehut";
+            };
+          }
+          {
+            Codeberg = {
+              description = "vdemeester";
+              href = "https://codeberg.org/vdemeester";
+              icon = "codeberg.png";
+            };
+          }
+          {
+            Calendar = {
+              description = "Google Calendar";
+              href = "https://calendar.google.com";
+              icon = "google-calendar.png";
+            };
+          }
+          {
+            Gmail = {
+              description = "Google Mail";
+              href = "https://mail.google.com";
+              icon = "gmail.png";
+            };
+          }
+        ];
+      }
       {
         Media = [
           {