mirror of
https://gitlab.com/TECHNOFAB/nixlets.git
synced 2025-12-12 01:50:05 +01:00
feat: rewrite how nixlets work
This commit is contained in:
parent
ba81fba6b2
commit
0cde19e51f
36 changed files with 494 additions and 125 deletions
10
lib/utils.nix
Normal file
10
lib/utils.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{lib, ...}:
|
||||
with lib; {
|
||||
mkNestedOption = options:
|
||||
mkOption {
|
||||
type = types.submodule {
|
||||
inherit options;
|
||||
};
|
||||
default = {};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue