@cryptotaxi247 / infra / commits / 97285d24

* Configuration for the new Hydra server.

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

Eelco Dolstra committed Apr 16, 2009 at 12:19 UTC 97285d246e0a10dc02d890f13af39c18bf127812
1 file changed +39
hydra.nix new
+39
@@ -0,0 +1,39 @@
1 +{config, pkgs, ...}:
2 +
3 +{
4 + boot = {
5 + initrd = {
6 + extraKernelModules = [ "uhci_hcd" "ehci_hcd" "ata_piix" "mptsas" "usbhid" "ext4" ];
7 + };
8 + kernelModules = [ "acpi-cpufreq" "kvm-intel" ];
9 + kernelPackages = pkgs.kernelPackages_2_6_28;
10 + grubDevice = "/dev/sda";
11 + };
12 +
13 + fileSystems = [
14 + { mountPoint = "/";
15 + label = "nixos";
16 + }
17 + ];
18 +
19 + swapDevices = [
20 + { label = "swap" ; }
21 + ];
22 +
23 + nix = {
24 + maxJobs = 8;
25 + };
26 +
27 + networking = {
28 + hostName = "hydra";
29 + domain = "buildfarm";
30 + };
31 +
32 + services = {
33 +
34 + sshd = {
35 + enable = true;
36 + };
37 +
38 + };
39 +}