0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

lib/modules: add class to specialArgs

Co-Authored-By: Johannes Kirschbauer <hsjobeki@gmail.com>
This commit is contained in:
Michael Hoang 2025-03-30 23:11:03 +09:00
parent c8cd81426f
commit 6de9039315
7 changed files with 105 additions and 1 deletions

View file

@ -0,0 +1,8 @@
{ _class, lib, ... }:
{
options = {
foo = lib.mkOption {
default = _class;
};
};
}