blob: 9ec9d1b18cf26b10cfc72f0067fb0f33420b34ab (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ inputs, ... }:
let
inherit (inputs) nixpkgs darwin home-manager;
inherit (nixpkgs.lib) mkMerge;
mkDarwinConfig = system: path:
darwin.lib.darwinSystem {
inherit system;
modules = [ home-manager.darwinModule path ];
specialArgs = { inherit inputs; };
};
in
{
flake = mkMerge [
{
darwinConfigurations = {
mba-fcuny = mkDarwinConfig "aarch64-darwin" ../hosts/mba;
};
}
];
}
|