* Generic configuration for build machines.
svn path=/configurations/trunk/tud/; revision=7897
Eelco Dolstra committed
Feb 12, 2007 at 15:39 UTC
3f28de87c6dc63c109ceb4e9336476e90df693c4
1 file changed
+35
build-machines.nix
new
+35
@@ -0,0 +1,35 @@
1
+{
2
+ boot = {
3
+ grubDevice = "/dev/sda";
4
+ initrd = {
5
+ extraKernelModules = ["3w_xxxx"];
6
+ };
7
+ };
8
+
9
+ fileSystems = [
10
+ { mountPoint = "/";
11
+ label = "nixos";
12
+ }
13
+ ];
14
+
15
+ swapDevices = [
16
+ { label = "swap"; }
17
+ ];
18
+
19
+ networking = {
20
+ useDHCP = false;
21
+ interfaces = {
22
+ interface = "eth0";
23
+ ipAddress = "192.168.1.14";
24
+ };
25
+ defaultGateway = "192.168.1.1";
26
+ nameservers = ["130.161.158.4" "130.161.33.17" "130.161.180.1"];
27
+ };
28
+
29
+ services = {
30
+ sshd = {
31
+ enable = true;
32
+ };
33
+ };
34
+
35
+}