feat: rewrite how nixlets work

This commit is contained in:
TECHNOFAB 2024-05-08 17:09:17 +00:00
parent ba81fba6b2
commit 0cde19e51f
36 changed files with 494 additions and 125 deletions

10
lib/utils.nix Normal file
View file

@ -0,0 +1,10 @@
{lib, ...}:
with lib; {
mkNestedOption = options:
mkOption {
type = types.submodule {
inherit options;
};
default = {};
};
}