mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 07:20:13 +00:00
switch on darwin
This commit is contained in:
11
flake.nix
11
flake.nix
@ -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;
|
||||
|
Reference in New Issue
Block a user