feat(unfree): Add darwin module to unfree predicate

This commit is contained in:
Mohammad Rafiq 2025-07-14 02:37:08 +08:00
parent ee522765b7
commit 3f10cf6205
No known key found for this signature in database

View file

@ -11,7 +11,8 @@ in
type = listOf str;
default = [ ];
};
config.flake.modules.nixos.default = {
nixpkgs.config.allowUnfreePredicate = predicate;
config.flake.modules = {
nixos.default.nixpkgs.config.allowUnfreePredicate = predicate;
darwin.default.nixpkgs.config.allowUnfreePredicate = predicate;
};
}