From 92869f833a19e354fd126c748f34c89717d4eb25 Mon Sep 17 00:00:00 2001 From: Bryan Ramos Date: Tue, 5 Nov 2024 04:34:08 -0500 Subject: [PATCH] updated bookmarks --- src/user/configs/bookmarks/default.nix | 21 ++++++++++++++----- .../gui/modules/browsers/firefox/default.nix | 8 ++++--- 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/src/user/configs/bookmarks/default.nix b/src/user/configs/bookmarks/default.nix index ceff437..649bafb 100644 --- a/src/user/configs/bookmarks/default.nix +++ b/src/user/configs/bookmarks/default.nix @@ -18,13 +18,24 @@ keyword = "pkgs"; } { - name = "Home Manager Options"; - url = "https://nix-community.github.io/home-manager/options.xhtml"; - tags = [ "nix" "dev" "linux" ]; - keyword = "hm"; + name = "Home Manager"; + bookmarks = [ + { + name = "Home Manager Option Docs"; + url = "https://nix-community.github.io/home-manager/options.xhtml"; + tags = [ "nix" "dev" "linux" ]; + keyword = "hm"; + } + { + name = "Home Manager Option Search"; + url = "https://home-manager-options.extranix.com"; + tags = [ "nix" "dev" "linux" ]; + keyword = "hm"; + } + ]; } { - name = "Nix"; + name = "Nix Docs"; bookmarks = [ { name = "nix.dev"; diff --git a/src/user/modules/gui/modules/browsers/firefox/default.nix b/src/user/modules/gui/modules/browsers/firefox/default.nix index 606c06a..61b9426 100644 --- a/src/user/modules/gui/modules/browsers/firefox/default.nix +++ b/src/user/modules/gui/modules/browsers/firefox/default.nix @@ -3,7 +3,7 @@ with lib; let cfg = config.modules.user.gui.browser.firefox; - passff = { + passffHost= { home.packages = with pkgs; [ passff-host ]; @@ -35,11 +35,12 @@ let in { options.modules.user.gui.browser.firefox = { enable = mkEnableOption "Enable Firefox browser"; }; - config = mkIf cfg.enable (passff // { + config = mkIf cfg.enable (passffHost // { programs.firefox = { enable = true; profiles = { - "default" = { + "${config.user.name}" = { + isDefault = true; bookmarks = config.user.bookmarks; search = { @@ -307,6 +308,7 @@ in #darkreader greasemonkey clearurls + passff ]; }; };