blob: 1bf10baf888e2fa2d271caaf73c91590fc839d1d (
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
|
{
network.description = "My first NixOS cluster";
network.enableRollback = true;
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";
};
}
|