@cryptotaxi247 / infra / commits / 35ac66aa

* Configuration of the test VM running NixOS.

svn path=/configurations/trunk/tud/; revision=7929

Eelco Dolstra committed Feb 20, 2007 at 15:33 UTC 35ac66aafbc2bbc499d90cad6f4c78bd8e095887
1 file changed +25
vm-nix-01.nix new
+25
@@ -0,0 +1,25 @@
1 +{
2 + boot = {
3 + grubDevice = "/dev/hda";
4 + };
5 +
6 + networking = {
7 + hostName = "vm-nix-01";
8 + };
9 +
10 + fileSystems = [
11 + { mountPoint = "/";
12 + label = "nixos";
13 + }
14 + ];
15 +
16 + swapDevices = [
17 + { label = "swap"; }
18 + ];
19 +
20 + services = {
21 + sshd = {
22 + enable = true;
23 + };
24 + };
25 +}