switch on darwin

This commit is contained in:
Noah Masur
2025-03-16 14:00:38 -04:00
parent 1833b4b46c
commit 98356634cd
9 changed files with 59 additions and 74 deletions

View File

@ -267,12 +267,23 @@
) hosts
) lib.linuxHosts;
# darwinConfigurations = {
# aarch64-darwin = {
# lookingglass = lib.buildDarwin {
# system = "aarch64-darwin";
# module = { };
# specialArgs = { };
# };
# };
# };
darwinConfigurations = builtins.mapAttrs (
system: hosts:
builtins.mapAttrs (
name: module:
lib.buildDarwin {
inherit system module;
specialArgs = { inherit (globals) hostnames; };
}
) hosts
) lib.darwinHosts;