nixpkgs-suyu/modules
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
..
config Make the Liberation Fonts available by default. 2009-07-09 12:10:58 +00:00
hardware * Move the firmware loader into a separate module. 2009-08-10 19:27:15 +00:00
installer * New nixos-rebuild action: "nixos-rebuild build-vm" builds a virtual 2009-08-11 01:35:56 +00:00
misc Adding back passthru functionality 2009-07-08 09:10:48 +00:00
programs bashrc: Source `${bash}/etc/bash_completion' when available. 2009-08-10 10:18:33 +00:00
security * kdm needs the "kde" PAM module, but you only get it when KDE is 2009-05-29 14:57:31 +00:00
services * New nixos-rebuild action: "nixos-rebuild build-vm" builds a virtual 2009-08-11 01:35:56 +00:00
system * Move the firmware loader into a separate module. 2009-08-10 19:27:15 +00:00
tasks * Give a type to networking.interfaces. 2009-07-16 17:18:54 +00:00
virtualisation * New nixos-rebuild action: "nixos-rebuild build-vm" builds a virtual 2009-08-11 01:35:56 +00:00
module-list.nix * Move the firmware loader into a separate module. 2009-08-10 19:27:15 +00:00