@cryptotaxi247 / infra / commits / 36999c78

* Add the config of mrhankey.

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

Eelco Dolstra committed Sep 10, 2010 at 15:04 UTC 36999c787ec6b65cc05cd799b9ff6d1159898dc1
1 file changed +41
mrhankey.nix new
+41
@@ -0,0 +1,41 @@
1 +{ config, pkgs, ... }:
2 +
3 +{
4 + require = [ ./common.nix ];
5 +
6 + boot.grubDevice = "/dev/sda";
7 + boot.initrd.extraKernelModules = [ "mptbase" "mptscsih" "mptsas" ];
8 +
9 + fileSystems =
10 + [ { mountPoint = "/";
11 + label = "mrhankey";
12 + fsType = "ext3";
13 + }
14 + ];
15 +
16 + swapDevices = [ { label = "swap"; } ];
17 +
18 + networking.hostName = "";
19 +
20 + services.openssh.enable = true;
21 +
22 + services.tomcat =
23 + {
24 + enable = true;
25 + baseDir = "/data/tomcat";
26 + javaOpts = "-Dshare.dir=/nix/var/nix/profiles/default/share -Xms350m -Xmx2048m -XX:MaxPermSize=512M -XX:PermSize=512M -XX:-UseGCOverheadLimit";
27 + logPerVirtualHost = true;
28 + virtualHosts =
29 + [ { name = "test.researchr.org";}
30 + { name = "test.nixos.org";}
31 + ];
32 + };
33 +
34 + services.mysql =
35 + {
36 + enable = true;
37 + package = pkgs.mysql51;
38 + dataDir = "/data/mysql";
39 + };
40 +
41 +}