This commit is contained in:
parent
008a38e397
commit
ac51509e25
3 changed files with 71 additions and 75 deletions
|
@ -1,5 +1,5 @@
|
|||
# Copy of modules/system/unfree.nix
|
||||
{ config, lib, ... }:
|
||||
args@{ config, lib, ... }:
|
||||
{
|
||||
_file = ./unfree.nix;
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
config = lib.mkIf (!args ? osConfig) {
|
||||
nixpkgs.config.allowUnfreePredicate = lib.mkForce (
|
||||
pkg: builtins.elem (lib.getName pkg) config.settei.unfree.allowedPackages
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue