flake-parts: ensure flake.darwinConfigurations is mergeable
We didn't run into issues previously for `nixosConfigurations` because there is already a [flake-parts module] that creates the option inside `flake`. [flake-parts module]: https://github.com/hercules-ci/flake-parts/blob/main/modules/nixosConfigurations.nix
This commit is contained in:
@@ -44,11 +44,12 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
options.flake =
|
options.flake = flake-parts-lib.mkSubmoduleOptions (
|
||||||
flake-parts-lib.mkSubmoduleOptions {
|
{
|
||||||
clan = lib.mkOption { type = types.raw; };
|
clan = lib.mkOption { type = types.raw; };
|
||||||
}
|
}
|
||||||
// outputModule.topLevel.options;
|
// outputModule.topLevel.options
|
||||||
|
);
|
||||||
config = {
|
config = {
|
||||||
flake = {
|
flake = {
|
||||||
clan = outputModule.clan;
|
clan = outputModule.clan;
|
||||||
|
|||||||
Reference in New Issue
Block a user