3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/tests/amazon.nix
Eelco Dolstra 3e3448a7df * Added an Upstart job to fetch the SSH key for logging into the root
account of the VM.  However, it doesn't work yet (the machine
  doesn't boot properly and there is no console output).  So use a
  hard-coded password for now (very dangerous!).

svn path=/nixos/trunk/; revision=19589
2010-01-21 08:03:58 +00:00

18 lines
395 B
Nix

rec {
machine =
{ config, pkgs, ... }:
{
services.httpd.enable = true;
services.httpd.adminAddr = "e.dolstra@tudelft.nl";
services.httpd.documentRoot = "${pkgs.valgrind}/share/doc/valgrind/html";
};
config = (import ../lib/eval-config.nix {
system = "i686-linux";
modules = [ machine ../modules/virtualisation/amazon-image.nix ];
}).config;
}