refactor(nix): move unfree packages module to options
This commit is contained in:
parent
36b459475a
commit
4deafa11ff
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,8 @@
|
|||
{ lib, config, ... }:
|
||||
let
|
||||
inherit (builtins) elem;
|
||||
inherit (lib) mkOption getName;
|
||||
inherit (lib.options) mkOption;
|
||||
inherit (lib.strings) getName;
|
||||
inherit (lib.types) listOf str;
|
||||
predicate = pkg: elem (getName pkg) config.allowedUnfreePackages;
|
||||
in
|
Loading…
Add table
Add a link
Reference in a new issue