diff --git a/home/programs/firefox/default.nix b/home/programs/firefox/default.nix index 4805ac6..7559379 100644 --- a/home/programs/firefox/default.nix +++ b/home/programs/firefox/default.nix @@ -2,14 +2,14 @@ programs = { firefox = { enable = true; - package = pkgs.firefox.override { - extraPolicies = import ./policies.nix; - extraPrefs = builtins.readFile ./prefs.cfg; - }; + package = pkgs.firefox; + nativeMessagingHosts = with pkgs; [ _1password-gui bitwarden-desktop ]; + policies = import ./policies.nix; profiles.default = { id = 0; name = "Default"; isDefault = true; + extraConfig = builtins.readFile ./prefs.cfg; search = { default = "DuckDuckGo"; engines = { diff --git a/home/programs/firefox/policies.nix b/home/programs/firefox/policies.nix index c08bd02..5716f0d 100644 --- a/home/programs/firefox/policies.nix +++ b/home/programs/firefox/policies.nix @@ -35,6 +35,7 @@ in "{3c078156-979c-498b-8990-85f7987dd929}" = install "https://addons.mozilla.org/firefox/downloads/latest/sidebery/latest.xpi"; "{b743f56d-1cc1-4048-8ba6-f9c2ab7aa54d}" = install "https://addons.mozilla.org/firefox/downloads/latest/dracula-dark-colorscheme/latest.xpi"; "{d634138d-c276-4fc8-924b-40a0ea21d284}" = install "https://addons.mozilla.org/firefox/downloads/latest/1password-x-password-manager/latest.xpi"; + "{446900e4-71c2-419f-a6a7-df9c091e268b}" = install "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi"; }; FirefoxHome = { Search = true;