blob: f6d67a049e33f9634f1446c1c53eb1f09723859b (
plain)
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
|
{
network.description = "My first NixOS cluster";
network.enableRollback = true;
aquarius = {
imports = [ ./aquarius/configuration.nix ];
deployment.targetHost = "aquarius";
};
comet = {
imports = [ ./comet/configuration.nix ];
deployment.targetHost = "comet.softwarefools.com";
};
nixos-01 = {config, pkgs,...}:
{
imports = [ ./config-extra.nix ];
environment.systemPackages = with pkgs; [mc];
deployment.targetHost = "nixos-01";
};
nixos-02 = {
imports = [ ./config-extra.nix ];
deployment.targetHost = "nixos-02";
};
nixos-03 = {
imports = [ ./config-extra.nix ];
deployment.targetHost = "nixos-03";
};
}
|