mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
3e3448a7df
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
18 lines
395 B
Nix
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;
|
|
|
|
}
|