mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
feat: specialArgs, aarch64-darwin
This commit is contained in:
parent
aea175c6ba
commit
d273b25fb5
1 changed files with 9 additions and 1 deletions
10
default.nix
10
default.nix
|
|
@ -16,13 +16,21 @@
|
|||
in {
|
||||
inherit tree;
|
||||
nixosConfigurations = mapAttrs (_: path: nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inherit inputs tree;
|
||||
machine = name;
|
||||
};
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
path
|
||||
];
|
||||
} ) tree.nixos.systems;
|
||||
darwinConfigurations = mapAttrs (_: path: darwin.lib.darwinSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
inherit inputs tree;
|
||||
machine = name;
|
||||
};
|
||||
system = "aarch64-darwin";
|
||||
modules = [
|
||||
path
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue