feat: specialArgs, aarch64-darwin

This commit is contained in:
Kat Inskip 2022-12-01 22:12:15 +01:00
parent aea175c6ba
commit d273b25fb5
Signed by: kat
GPG key ID: 465E64DECEA8CF0F

View file

@ -16,13 +16,21 @@
in { in {
inherit tree; inherit tree;
nixosConfigurations = mapAttrs (_: path: nixpkgs.lib.nixosSystem { nixosConfigurations = mapAttrs (_: path: nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs tree;
machine = name;
};
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
path path
]; ];
} ) tree.nixos.systems; } ) tree.nixos.systems;
darwinConfigurations = mapAttrs (_: path: darwin.lib.darwinSystem { darwinConfigurations = mapAttrs (_: path: darwin.lib.darwinSystem {
system = "x86_64-linux"; specialArgs = {
inherit inputs tree;
machine = name;
};
system = "aarch64-darwin";
modules = [ modules = [
path path
]; ];