tud: added initial lucifer configuration
svn path=/configurations/trunk/tud/; revision=24130
Rob Vermaas committed
Oct 7, 2010 at 08:01 UTC
7f9b3b929f86c852e3a0a5cf5523388af9795813
1 file changed
+38
lucifer.nix
new
+38
@@ -0,0 +1,38 @@
1
+{ config, pkgs, ... }:
2
+
3
+{
4
+ require = [ ./common.nix] ;
5
+
6
+ boot.loader.grub.device = "/dev/sda";
7
+ boot.loader.grub.copyKernels = true;
8
+ boot.initrd.kernelModules = [ "uhci_hcd" "ehci_hcd" "ata_piix" "megaraid_sas" "usbhid" ];
9
+ boot.kernelModules = ["acpi-cpufreq" "kvm-intel" "coretemp"];
10
+
11
+ fileSystems =
12
+ [ { mountPoint = "/";
13
+ label = "nixos";
14
+ }
15
+ { mountPoint = "/data";
16
+ label = "data";
17
+ }
18
+ ];
19
+
20
+ nixpkgs.config.subversion.pythonBindings = true;
21
+
22
+ services.hydraChannelMirror.enable = true;
23
+ services.hydraChannelMirror.period = "0-59/15 * * * *";
24
+
25
+ services.httpd.enable = true;
26
+ services.httpd.adminAddr = "rob.vermaas@gmail.com";
27
+ services.httpd.virtualHosts = [
28
+ { hostName = "localhost";
29
+ servedDirs = [
30
+ { urlPath = "/releases";
31
+ dir = "/data/hydra-mirror/channels/";
32
+ }
33
+ ];
34
+ }
35
+ ];
36
+
37
+}
38
+