Add nixos.base
All checks were successful
/ check (push) Successful in 50s

This commit is contained in:
Oliver Davies 2025-08-31 21:47:12 +01:00
parent 37c36112e3
commit 43df5bcd08
4 changed files with 8 additions and 3 deletions

View file

@ -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)) {