fix: add 'lib' as default module

This commit is contained in:
2026-03-11 21:25:32 +01:00
parent 22a5026f38
commit 0b853ebf4b
4 changed files with 3 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
{ config, lib, ... }:
{
options.nixgl.wrap = lib.mkOption {
type = lib.types.functionTo lib.types.package;
default = if config.lib ? nixGL then config.lib.nixGL.wrap else lib.id;
readOnly = true;
};
}