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 |
||
---|---|---|
doc | ||
gui | ||
lib | ||
maintainers | ||
modules | ||
tests | ||
COPYING | ||
default.nix | ||
README | ||
release.nix | ||
VERSION |
*** 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.