docs: improve flake-parts configuration

This commit is contained in:
Johannes Kirschbauer
2024-04-16 12:02:22 +02:00
parent cdc197cc1d
commit da486ae9ec
8 changed files with 169 additions and 93 deletions

View File

@@ -4,6 +4,7 @@ clan-core:
lib,
flake-parts-lib,
inputs,
self,
...
}:
let
@@ -20,6 +21,7 @@ in
directory = mkOption {
type = types.path;
description = "The directory containing the clan subdirectory";
default = self; # default to the directory of the flake
};
specialArgs = mkOption {
type = types.attrsOf types.raw;