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 =
|
||||
flake-parts-lib.mkSubmoduleOptions {
|
||||
options.flake = flake-parts-lib.mkSubmoduleOptions (
|
||||
{
|
||||
clan = lib.mkOption { type = types.raw; };
|
||||
}
|
||||
// outputModule.topLevel.options;
|
||||
// outputModule.topLevel.options
|
||||
);
|
||||
config = {
|
||||
flake = {
|
||||
clan = outputModule.clan;
|
||||
|
||||
Reference in New Issue
Block a user