No description
Find a file
Eelco Dolstra 89ef5c979b * New nixos-rebuild action: "nixos-rebuild build-vm" builds a virtual
machine containing a replica (minus the state) of the system
  configuration.  This is mostly useful for testing configuration
  changes prior to doing an actual "nixos-rebuild switch" (or even
  "nixos-rebuild test").  The VM can be started as follows:

  $ nixos-rebuild build-vm
  $ ./result/bin/run-*-vm

  which starts a KVM/QEMU instance.  Additional QEMU options can be
  passed through the QEMU_OPTS environment variable
  (e.g. QEMU_OPTS="-redir tcp:8080::80" to forward a host port to the
  guest).  The fileSystem attribute of the regular system
  configuration is ignored (using mkOverride), because obviously we
  can't allow the VM to access the host's block devices.  Instead, at
  startup the VM creates an empty disk image in ./<hostname>.qcow2 to
  store the VM's root filesystem.

  Building a VM in this way is efficient because the VM shares its Nix
  store with the host (through a CIFS mount).  However, because the
  Nix store of the host is mounted read-only in the guest, you cannot
  run Nix build actions inside the VM.  Therefore the VM can only be
  reconfigured by re-running "nixos-rebuild build-vm" on the host and
  restarting the VM.

svn path=/nixos/trunk/; revision=16662
2009-08-11 01:35:56 +00:00
doc * Escape strings. 2009-07-15 13:40:30 +00:00
lib * New nixos-rebuild action: "nixos-rebuild build-vm" builds a virtual 2009-08-11 01:35:56 +00:00
maintainers/scripts Replace special rule by a module-list.mask file which enumerates all 2009-06-11 17:59:47 +00:00
modules * New nixos-rebuild action: "nixos-rebuild build-vm" builds a virtual 2009-08-11 01:35:56 +00:00
test * Removed the installer directory. 2009-06-10 11:02:17 +00:00
default.nix * New nixos-rebuild action: "nixos-rebuild build-vm" builds a virtual 2009-08-11 01:35:56 +00:00
README * URL updates. 2008-05-09 15:08:43 +00:00
release.nix Update RC kernel for rescue CD: includes some BtrFS fixes 2009-07-30 04:20:56 +00:00
STABLE * Version number, stable marker. 2006-11-04 11:27:08 +00:00
VERSION * Version number, stable marker. 2006-11-04 11:27:08 +00:00

*** 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.