build-clan: support constructing darwinConfigurations

This commit is contained in:
Michael Hoang
2025-03-25 13:39:04 +09:00
parent 66e4c41142
commit 6de4735c81
11 changed files with 207 additions and 57 deletions

View File

@@ -123,6 +123,15 @@ in
};
# Outputs
darwinConfigurations = lib.mkOption {
# Hide from documentation.
# Exposed at the top-level of the flake, clan.darwinConfigurations should not used by the user.
# Instead, the user should use the `.#darwinConfigurations` attribute of the flake output.
visible = false;
type = types.lazyAttrsOf types.raw;
default = { };
};
nixosConfigurations = lib.mkOption {
# Hide from documentation.
# Exposed at the top-level of the flake, clan.nixosConfigurations should not used by the user.