Start refactoring pc and desktop configurations
All checks were successful
/ check (push) Successful in 1m45s

This commit is contained in:
Oliver Davies 2025-07-31 18:58:14 +01:00
parent a2e3cc96fb
commit 3bcf37f394
6 changed files with 5 additions and 15 deletions

View file

@ -12,7 +12,7 @@
predicate = pkg: builtins.elem (lib.getName pkg) config.nixpkgs.allowedUnfreePackages;
in
{
nixos.workstation.nixpkgs.config.allowUnfreePredicate = predicate;
nixos.pc.nixpkgs.config.allowUnfreePredicate = predicate;
homeManager.base = args: {
nixpkgs.config = lib.mkIf (!(args.hasGlobalPkgs or false)) {