From 967e29628cc0367889b1a83392722e5306ac1d65 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Wed, 22 Dec 2021 04:55:24 +0100 Subject: [PATCH] base: Add firefox profile --- profiles/base/default.nix | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/profiles/base/default.nix b/profiles/base/default.nix index 6e26348..df4525c 100644 --- a/profiles/base/default.nix +++ b/profiles/base/default.nix @@ -96,8 +96,28 @@ in { programs.firefox = { enable = config.profiles.gui.enable; - -# package = pkgs.firefox.override { extraNativeMessagingHosts = [ pkgs.dan.radical-native ]; }; + profiles = { + daniel = { + settings = { + "browser.startup.homepage" = "https://nixos.org"; + }; + bookmarks = { + "NixOS Options" = { + keyword = "no"; + url = "https://search.nixos.org/options?query=%s"; + }; + "NixOS Packages" = { + keyword = "np"; + url = "https://search.nixos.org/packages?query=%s"; + }; + "Home-Manager Options" = { + keyword = "hm"; + url = "https://rycee.gitlab.io/home-manager/options.html#opt-%s"; + }; + }; + }; + }; + extensions = with pkgs.nur.repos.rycee.firefox-addons; [ bitwarden cookies-txt https-everywhere metamask no-pdf-download sponsorblock ublock-origin ]; }; programs.obs-studio = {