From 750984eb5e3fde83a141f0b031ebf9dbf60cd095 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Wed, 14 Aug 2024 15:38:45 +0200 Subject: [PATCH] nixos-mods/frontend: remove manual overwrite of nixpkgs.config.allowUnfreePredicate --- nix/nixos-modules/frontend/default.nix | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/nix/nixos-modules/frontend/default.nix b/nix/nixos-modules/frontend/default.nix index cf1cd5a..35a0325 100644 --- a/nix/nixos-modules/frontend/default.nix +++ b/nix/nixos-modules/frontend/default.nix @@ -108,17 +108,6 @@ in }; - nixpkgs.config = { - - allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) ( - map lib.getName (with lib.lists; flatten [ - (optional config.programs.steam.enable config.programs.steam.package) - ]) - ); - - }; - - programs = { firefox = {