-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathflake.nix
More file actions
51 lines (48 loc) · 1.34 KB
/
flake.nix
File metadata and controls
51 lines (48 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
description = "My MacOS environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/master";
nix-darwin = {
url = "github:nix-darwin/nix-darwin/master";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-homebrew.url = "github:zhaofengli/nix-homebrew/main";
home-manager = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs: {
darwinConfigurations = {
personal = inputs.nix-darwin.lib.darwinSystem {
system = "aarch64-darwin";
modules = [ ./machines/personal ];
specialArgs = {
inherit inputs;
primaryUser = {
email = "podany270895@gmail.com";
name = "Daniel Salazar";
username = "dsalazar";
};
};
};
work = inputs.nix-darwin.lib.darwinSystem {
system = "aarch64-darwin";
modules = [ ./machines/work ];
specialArgs = {
inherit inputs;
primaryUser = {
email = "dsalazar@fluidattacks.com";
name = "Daniel Salazar";
username = "dsalazar";
};
};
};
test = inputs.nix-darwin.lib.darwinSystem {
system = "aarch64-darwin";
modules = [ ./machines/test ];
specialArgs = { inherit inputs; };
};
};
};
}