add den pattern

This commit is contained in:
Armel van Ravels
2026-08-14 15:08:14 +02:00
parent 6c1074e3fd
commit 00a8168ef5
92 changed files with 738 additions and 506 deletions

View File

@@ -0,0 +1,18 @@
{ lib, ... }:
let
modulesDir = ../.;
moduleDirs = builtins.readDir modulesDir;
excludeDirs = [ "home" "features" ];
dirEntries = lib.filterAttrs
(name: type: type == "directory" && !builtins.elem name excludeDirs)
moduleDirs;
in
{
options.features.modules = lib.mkOption {
type = lib.types.attrs;
default = { };
description = "Auto-generated feature module options tree";
};
}