Set default gateway and static ip
svn path=/configurations/trunk/tud/; revision=8075
Martin Bravenboer committed
Feb 27, 2007 at 14:13 UTC
93c370baf6b8279ed9d742a79b7e86ea1991c704
1 file changed
+7
-1
main.nix
+7
-1
@@ -20,7 +20,13 @@ rec {
20
21
networking = {
22
hostName = "buildfarm";
23
+ defaultGateway = "130.161.158.1";
24
+ # subnetmask = "255.255.254.0";
25
+
26
interfaces = [
27
+ { name = "eth0";
28
+ ipAddress = "130.161.158.181";
29
+ }
30
{ name = "eth0:0";
31
ipAddress = "192.168.1.5";
32
}
@@ -35,7 +41,7 @@ rec {
41
httpd = {
42
enable = true;
43
adminAddr = "admin@example.org";
38
- hostName = "dutiel.st.ewi.tudelft.nl";
44
+ hostName = "buildfarm.st.ewi.tudelft.nl";
45
46
subservices = {
47
subversion = {