refactor(common): modularize common host module
check / lint (push) Successful in 14s

This commit is contained in:
2026-10-11 17:34:29 +02:00
parent deeffb8b8b
commit 7f5d7914c4
13 changed files with 124 additions and 81 deletions
+11
View File
@@ -0,0 +1,11 @@
{ lib, config, ... }:
{
options.nixpkgs.allowedUnfree = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [ ];
};
config.nixpkgs.config.allowUnfreePredicate =
pkg: builtins.elem (lib.getName pkg) config.nixpkgs.allowedUnfree;
}