122e125d6b
{ 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 |
||
---|---|---|
.. | ||
config | ||
hardware | ||
installer | ||
misc | ||
profiles | ||
programs | ||
security | ||
services | ||
system | ||
tasks | ||
testing | ||
virtualisation | ||
module-list.nix | ||
rename.nix |