From dabe4ec513f36ab4ac98734390260e1a3815b4de Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Sun, 15 Mar 2026 21:58:41 +0100 Subject: [PATCH 1/2] glance: Remove bookmarks widget and disable auto focus --- modules/nixos/web-services/glance.nix | 124 +------------------------- 1 file changed, 2 insertions(+), 122 deletions(-) diff --git a/modules/nixos/web-services/glance.nix b/modules/nixos/web-services/glance.nix index e7876d5..c184e05 100644 --- a/modules/nixos/web-services/glance.nix +++ b/modules/nixos/web-services/glance.nix @@ -94,123 +94,6 @@ let ''; }; - - bookmarksWidget = { - type = "bookmarks"; - groups = [ - { - links = [ - { - title = "YouTube"; - url = "https://www.youtube.com/"; - } - { - title = "DeepL"; - url = "https://www.deepl.com/en/translator"; - } - { - title = "GitHub"; - url = "https://github.com/SebastianStork"; - } - { - title = "ChatGBT"; - url = "https://chatgpt.com/"; - } - ]; - } - { - title = "Email"; - links = [ - { - title = "Mailbox"; - url = "https://app.mailbox.org/appsuite/#!!&app=io.ox/mail&folder=default0/INBOX"; - } - { - title = "Proton"; - url = "https://mail.proton.me/u/1/inbox"; - } - { - title = "h_da"; - url = "https://webmail.stud.h-da.de/stud/?_task=mail&_mbox=INBOX"; - } - ]; - } - { - title = "Nix"; - color = "200 50 50"; - links = [ - { - title = "Wiki"; - url = "https://wiki.nixos.org/wiki/Main_Page"; - } - { - title = "NixOS Manual"; - url = "https://nixos.org/manual/nixos/stable/"; - } - { - title = "Packages Search"; - url = "https://search.nixos.org/packages"; - } - { - title = "NixOS Options Search"; - url = "https://search.nixos.org/options"; - } - { - title = "HM Options Search"; - url = "https://home-manager-options.extranix.com/"; - } - { - title = "Function Search"; - url = "https://noogle.dev/"; - } - { - title = "GitHub Code Search"; - url = "https://github.com/search?q=lang%3Anix%20&type=code"; - } - ]; - } - { - title = "Infra"; - color = "140 70 50"; - links = [ - { - title = "Backblaze"; - url = "https://secure.backblaze.com/b2_buckets.htm"; - } - { - title = "Healthchecks"; - url = "https://healthchecks.io/projects/ed5214d3-971f-4b66-997d-8ffd0d8cd4ca/checks/"; - } - { - title = "Hetzner"; - url = "https://console.hetzner.cloud/projects/10289618/servers"; - } - { - title = "Porkbun"; - url = "https://porkbun.com/"; - } - ]; - } - { - title = "Uni"; - color = "10 70 50"; - links = [ - { - title = "My"; - url = "https://my.h-da.de/"; - } - { - title = "Moodle"; - url = "https://lernen.h-da.de/"; - } - { - title = "GitLab"; - url = "https://code.fbi.h-da.de/"; - } - ]; - } - ]; - }; in { options.custom.web-services.glance = { @@ -243,7 +126,7 @@ in { type = "search"; search-engine = "https://search.splitleaf.de/search?q={QUERY}"; - autofocus = true; + autofocus = false; } applicationSitesWidget observabilitySitesWidget @@ -251,10 +134,7 @@ in } { size = "small"; - widgets = [ - githubBadgeWidget - bookmarksWidget - ]; + widgets = [ githubBadgeWidget ]; } ]; }; From 4a36dbf182731aaa72e81026a088b4a13a902502 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Sun, 15 Mar 2026 21:59:22 +0100 Subject: [PATCH 2/2] firefox: Remove `new-tab-override` extension and make bookmars toolbar always visible --- modules/home/programs/firefox.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/home/programs/firefox.nix b/modules/home/programs/firefox.nix index 2f54cc4..4d173ae 100644 --- a/modules/home/programs/firefox.nix +++ b/modules/home/programs/firefox.nix @@ -96,7 +96,6 @@ in sponsorblock.uuid = "sponsorBlocker@ajay.app"; clearurls.uuid = "{74145f27-f039-47ce-a470-a662b129930a}"; languagetool.uuid = "languagetool-webextension@languagetool.org"; - new-tab-override.uuid = "newtaboverride@agenedia.com"; karakeep = { uuid = "addon@karakeep.app"; defaultArea = "navbar"; @@ -117,7 +116,7 @@ in "browser.uiCustomization.state" = uiState; "browser.startup.homepage" = lib.mkIf (cfg.homepage != null) cfg.homepage; "sidebar.position_start" = false; - "browser.toolbars.bookmarks.visibility" = "never"; + "browser.toolbars.bookmarks.visibility" = "always"; "browser.bookmarks.restore_default_bookmarks" = false; "browser.bookmarks.file" = ""; "media.videocontrols.picture-in-picture.video-toggle.enabled" = false;