Standardize more paths and such
This commit is contained in:
parent
dbd5ea69cd
commit
def300827a
5 changed files with 12 additions and 8 deletions
|
@ -1,7 +1,8 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
options.nixpkgs.allowUnfreePackages = lib.mkOption {
|
||||
type = with lib.types; listOf str;
|
||||
with lib; {
|
||||
options.nixpkgs.allowUnfreePackages = mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [];
|
||||
};
|
||||
|
||||
config.nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) config.nixpkgs.allowUnfreePackages;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue