diff options
-rw-r--r-- | user/config.nix | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/user/config.nix b/user/config.nix index c98bb405..503b1654 100644 --- a/user/config.nix +++ b/user/config.nix @@ -1,6 +1,14 @@ -{ pkgs }: { - allowUnfree = true; - allowUnfreePredicate = pkg: true; +{ pkgs }: +let + inherit (pkgs) lib; +in +{ + allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ + "beeper" + "discord" + "input-fonts" + "tabnine" + ]; input-fonts.acceptLicense = true; permittedInsecurePackages = [ "electron-27.3.11" # for logseq 0.10.9 |