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 {
|
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
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue