nixpkgs/modules/installer
Sander van der Burg 122e125d6b Added the nixos-deploy-network tool. With this tool you can write a network of NixOS configurations, e.g.:
{
  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
2010-10-07 14:30:52 +00:00
..
cd-dvd Remove duplicated definitions. 2010-09-25 09:44:48 +00:00
generations-dir Making the bootloaders respect the platform.kernelTarget set in nixpkgs. 2010-02-27 22:17:10 +00:00
grub * When generating a GRUB 1 menu, don't use the "module" command to 2010-10-05 13:11:30 +00:00
init-script * Don't enable this by default. 2009-12-17 11:43:12 +00:00
scan Add 2 index file to define the default case for detected and not-detected 2010-09-25 09:32:37 +00:00
tools Added the nixos-deploy-network tool. With this tool you can write a network of NixOS configurations, e.g.: 2010-10-07 14:30:52 +00:00