-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
85 lines (85 loc) · 2.24 KB
/
flake.nix
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
description = "@zimeg machinations";
inputs = {
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-darwin = {
url = "github:LnL7/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs = {
url = "github:NixOS/nixpkgs/nixos-unstable";
};
nur = {
url = "github:nix-community/NUR";
};
};
outputs = { self, nixpkgs, nur, ... }@inputs: {
darwinConfigurations = {
edenzim-ltmbn8v.internal.salesforce.com = inputs.nix-darwin.lib.darwinSystem {
specialArgs = {
inherit inputs self;
};
modules = [
./machines/puma/configuration.nix
inputs.home-manager.darwinModules.home-manager
{
home-manager = {
sharedModules = [ nur.hmModules.nur ];
useGlobalPkgs = true;
useUserPackages = false;
users = {
"eden.zimbelman" = {
imports = [ ./programs/home.nix ];
};
};
};
}
];
};
ezmbp24.local = inputs.nix-darwin.lib.darwinSystem {
specialArgs = {
inherit inputs self;
};
modules = [
./machines/puma/configuration.nix
inputs.home-manager.darwinModules.home-manager
{
home-manager = {
sharedModules = [ nur.hmModules.nur ];
useGlobalPkgs = true;
useUserPackages = false;
users = {
"ez" = {
imports = [ ./programs/home.nix ];
};
};
};
}
];
};
};
nixosConfigurations = {
tom = nixpkgs.lib.nixosSystem {
modules = [
./machines/tom/configuration.nix
inputs.home-manager.nixosModules.home-manager
{
home-manager = {
sharedModules = [ nur.hmModules.nur ];
useGlobalPkgs = true;
useUserPackages = true;
users = {
default = {
imports = [ ./programs/home.nix ];
};
};
};
}
];
};
};
};
}