nix-config/modules/top/inventory/features.nix
2026-04-15 18:26:05 -04:00

36 lines
863 B
Nix

{ lib, ... }:
{
options.dendritic.features = lib.mkOption {
type = lib.types.attrsOf (
lib.types.submodule ({ name, ... }: {
options = {
name = lib.mkOption {
type = lib.types.str;
default = name;
};
features = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [ ];
};
nixosModules = lib.mkOption {
type = lib.types.listOf lib.types.deferredModule;
default = [ ];
};
homeModules = lib.mkOption {
type = lib.types.listOf lib.types.deferredModule;
default = [ ];
};
includeInEmbeddedHomeManager = lib.mkOption {
type = lib.types.bool;
default = true;
};
};
})
);
default = { };
};
}