commit 7b259663767f0d26cec3db6c71523982afe72030 parent 2d44e3df3e205d689b9fae481a187f54ab12875f Author: Vincent Demeester <vincent@sbr.pm> Date: Mon, 7 Dec 2020 09:06:11 +0100 users/vincent: fix firefox extensions gone Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | users/vincent/desktop/firefox.nix | | | 23 | +++++++++++++++++++++++ |
1 file changed, 23 insertions(+), 0 deletions(-)
diff --git a/users/vincent/desktop/firefox.nix b/users/vincent/desktop/firefox.nix @@ -1,6 +1,29 @@ +{ pkgs, ... }: + { programs.firefox = { enable = true; + # Temporary fix + # https://github.com/nix-community/home-manager/issues/1641 + # (https://github.com/NixOS/nixpkgs/pull/105796) + package = pkgs.wrapFirefox pkgs.firefox-unwrapped { + extraPolicies = { + ExtensionSettings = { }; + CaptivePortal = false; + DisableFirefoxStudies = true; + DisablePocket = true; + DisableTelemetry = true; + # DisableFirefoxAccounts = true; + FirefoxHome = { + Pocket = false; + # Snippets = false; + }; + UserMessaging = { + ExtensionRecommendations = false; + SkipOnboarding = true; + }; + }; + }; profiles.default = { id = 0; isDefault = true;