Author: eelco
Date: Sun May 8 21:45:31 2011
New Revision: 27190
URL: https://svn.nixos.org/websvn/nix/?rev=27190&sc=1
Log:
* Move.
Added:
cloud/trunk/src/adhoc-cloud-vm.nix
- copied unchanged from r27189,
configurations/trunk/tud/cloud/cloud-vm.nix
Deleted:
configurations/trunk/tud/cloud/cloud-vm.nix
Copied: cloud/trunk/src/adhoc-cloud-vm.nix (from r27189,
configurations/trunk/tud/cloud/cloud-vm.nix)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ cloud/trunk/src/adhoc-cloud-vm.nix Sun May 8 21:45:31 2011
(r27190, copy of r27189, configurations/trunk/tud/cloud/cloud-vm.nix)
@@ -0,0 +1,24 @@
+{ config, pkgs, ... }:
+
+with pkgs.lib;
+
+{
+ boot.loader.grub.version = 2;
+ boot.loader.grub.device = "/dev/vda";
+ boot.initrd.kernelModules = [ "virtio_blk" "virtio_pci" ];
+
+ fileSystems =
+ [ { mountPoint = "/";
+ label = "nixos";
+ }
+ ];
+
+ swapDevices = [ { label = "swap"; } ];
+
+ networking.hostName = mkOverride 950 "";
+ networking.firewall.enable = mkOverride 950 true;
+
+ services.openssh.enable = true;
+
+ services.mingetty.ttys = [ "hvc0" "tty1" "tty2" ];
+}
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits