-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmachines.nix
97 lines (87 loc) · 2.3 KB
/
machines.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
86
87
88
89
90
91
92
93
94
95
96
97
{ system, profiles, nixpkgs, pkgOverlays, ... }:
let
cloudconfig = {
inherit system nixpkgs;
overlays = pkgOverlays;
username = "penglei";
modules = [ ./nixos/cloud ];
hm-modules = profiles.hm.slim.modules;
};
in {
slim = profiles.nixos-creator {
inherit system nixpkgs;
overlays = pkgOverlays;
hostname = "nixos";
username = "penglei";
modules = [ ./nixos/basic ];
hm-modules = profiles.hm.slim.modules;
};
basic = profiles.nixos-creator {
inherit system nixpkgs;
overlays = pkgOverlays;
hostname = "nixos";
username = "penglei";
modules = [ ./nixos/basic ];
};
ganger = profiles.nixos-creator {
inherit system nixpkgs;
overlays = pkgOverlays;
hostname = "ganger";
username = "penglei";
modules = [ ./nixos/ganger ];
hm-modules = profiles.hm.slim.modules;
};
utm-vm = profiles.nixos-creator {
inherit system nixpkgs;
overlays = pkgOverlays;
hostname = "utm-vm";
username = "penglei";
modules = [ ./nixos/utm-vm ];
};
tart-vm = profiles.nixos-creator {
inherit system nixpkgs;
overlays = pkgOverlays;
hostname = "tart-vm";
username = "penglei";
modules = [ ./nixos/tart-vm ];
};
router-dev = profiles.nixos-creator {
inherit system nixpkgs;
overlays = pkgOverlays;
hostname = "router-dev";
username = "penglei";
modules = [ ./nixos/router-dev ];
hm-modules = profiles.hm.slim.modules;
};
installer = profiles.nixos-creator {
inherit system nixpkgs;
overlays = pkgOverlays;
hostname = "installer";
username = "penglei";
modules = [ ./nixos/installer ];
hm-modules = profiles.hm.slim.modules;
};
hk-alpha = profiles.nixos-creator {
inherit system nixpkgs;
overlays = pkgOverlays;
hostname = "hk-alpha";
username = "penglei";
modules = [
./nixos/cloud
./nixos/modules/ssserver.nix
];
hm-modules = profiles.hm.slim.modules;
};
sg-alpha = profiles.nixos-creator {
inherit system nixpkgs;
overlays = pkgOverlays;
hostname = "sg-alpha";
username = "penglei";
modules = [
./nixos/cloud
./nixos/modules/dnscrypt-proxy-server.nix
];
hm-modules = profiles.hm.slim.modules;
};
sv-alpha = profiles.nixos-creator (cloudconfig // { hostname = "sv-alpha"; });
}