Author: eelco
Date: Fri Sep 10 15:04:44 2010
New Revision: 23726
URL: https://svn.nixos.org/websvn/nix/?rev=23726&sc=1

Log:
* Add the config of mrhankey.

Added:
   configurations/trunk/tud/mrhankey.nix

Added: configurations/trunk/tud/mrhankey.nix
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ configurations/trunk/tud/mrhankey.nix       Fri Sep 10 15:04:44 2010        
(r23726)
@@ -0,0 +1,41 @@
+{ config, pkgs, ... }:
+
+{
+  require = [ ./common.nix ];
+
+  boot.grubDevice = "/dev/sda";
+  boot.initrd.extraKernelModules = [ "mptbase" "mptscsih" "mptsas" ];
+
+  fileSystems = 
+    [ { mountPoint = "/";
+        label = "mrhankey";
+        fsType = "ext3";
+      }
+    ];
+
+  swapDevices = [ { label = "swap"; } ];
+
+  networking.hostName = "";
+
+  services.openssh.enable = true;
+
+  services.tomcat = 
+    {
+      enable = true;
+      baseDir = "/data/tomcat";
+      javaOpts = "-Dshare.dir=/nix/var/nix/profiles/default/share -Xms350m 
-Xmx2048m -XX:MaxPermSize=512M -XX:PermSize=512M -XX:-UseGCOverheadLimit";
+      logPerVirtualHost = true;
+      virtualHosts = 
+        [ { name = "test.researchr.org";}
+          { name = "test.nixos.org";}
+        ];
+    };
+
+  services.mysql = 
+    {
+      enable = true;
+      package = pkgs.mysql51;
+      dataDir = "/data/mysql";
+    };
+
+}
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to