build-clan: support constructing darwinConfigurations

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

View File

@@ -1,6 +1,7 @@
{
lib,
nixpkgs,
nix-darwin ? null,
clan-core,
self,
specialArgs ? { },
@@ -9,7 +10,12 @@
module:
(lib.evalModules {
specialArgs = {
inherit self clan-core nixpkgs;
inherit
self
clan-core
nixpkgs
nix-darwin
;
};
modules = [
./interface.nix