From cd62307786838f40746e753b4bac3dcc05745c72 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sat, 4 Jun 2022 21:09:17 -0400 Subject: [PATCH] use unfree system for firefox extensions --- modules/applications/firefox.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/modules/applications/firefox.nix b/modules/applications/firefox.nix index 1f62c37..0efbd7c 100644 --- a/modules/applications/firefox.nix +++ b/modules/applications/firefox.nix @@ -3,12 +3,7 @@ { config = lib.mkIf config.gui.enable { - # nixpkgs.config.allowUnfreePredicate = pkg: - # builtins.elem (lib.getName pkg) [ "onepassword-password-manager" ]; - nixpkgs.config.allowlistedLicenses = [ - pkgs.nur.repos.rycee.firefox-addons.onepassword-password-manager.meta.license - pkgs.nur.repos.rycee.firefox-addons.okta-browser-plugin.meta.license - ]; + unfreePackages = [ "onepassword-password-manager" "okta-browser-plugin" ]; home-manager.users.${config.user} = {