2025-06-09 16:14:57 +08:00
|
|
|
{
|
2025-05-03 23:23:02 +08:00
|
|
|
flake-parts-lib,
|
|
|
|
|
lib,
|
2025-07-11 21:04:42 +08:00
|
|
|
rootPath,
|
2025-05-03 23:23:02 +08:00
|
|
|
...
|
2025-07-13 06:04:55 +08:00
|
|
|
}:
|
|
|
|
|
{
|
2025-05-03 23:23:02 +08:00
|
|
|
options = {
|
|
|
|
|
flake = flake-parts-lib.mkSubmoduleOptions {
|
|
|
|
|
templates = lib.mkOption {
|
|
|
|
|
type = lib.types.lazyAttrsOf lib.types.raw;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
config = {
|
|
|
|
|
flake.templates = import (rootPath + "/templates");
|
|
|
|
|
};
|
|
|
|
|
}
|