
{ test1 = {pkgs, config, ...}: { # NixOS config of machine test1 ... }; test2 = {pkgs, config, ...}: { # NixOS config of machine test2 ... }; } And an infrastructure expression, e.g: { test1 = { hostName = "test1.example.org"; system = "i686-linux"; }; test2 = { hostName = "test2.example.org"; system = "x86_64-linux"; }; } And by executing: nixos-deploy-network -n network.nix -i infrastructure.nix The system configurations in the network expression are built, transferred to the machines in the network and finally activated. svn path=/nixos/trunk/; revision=24146
*** NixOS *** NixOS is a Linux distribution based on the purely functional package management system Nix. More information can be found at http://nixos.org/nixos and in the manual in doc/manual.
Description
Languages
Nix
96.3%
Shell
1.8%
Python
0.7%
Perl
0.4%
C
0.3%
Other
0.1%