This commit is contained in:
parent
37c36112e3
commit
43df5bcd08
4 changed files with 8 additions and 3 deletions
|
@ -12,7 +12,7 @@
|
|||
predicate = pkg: builtins.elem (lib.getName pkg) config.nixpkgs.allowedUnfreePackages;
|
||||
in
|
||||
{
|
||||
nixos.pc.nixpkgs.config.allowUnfreePredicate = predicate;
|
||||
nixos.base.nixpkgs.config.allowUnfreePredicate = predicate;
|
||||
|
||||
homeManager.base = args: {
|
||||
nixpkgs.config = lib.mkIf (!(args.hasGlobalPkgs or false)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue