fix: add 'lib' as default module

This commit is contained in:
2026-02-20 21:52:25 +01:00
parent 55b3fde362
commit c6671fea4e
4 changed files with 3 additions and 1 deletions

9
home/modules/default.nix Normal file
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;
};
}