configure static ip address
svn path=/configurations/trunk/tud/; revision=7919
Martin Bravenboer committed
Feb 20, 2007 at 13:47 UTC
e90fef8f75288dd59548b00d89fac4d550aa11dd
1 file changed
+8
main.nix
+8
@@ -16,6 +16,14 @@
16
{ label = "swap1"; }
17
];
18
19
+ networking = {
20
+ interfaces = [
21
+ { name = "eth0:0";
22
+ ipAddress = "192.168.1.5";
23
+ }
24
+ ];
25
+ };
26
+
27
services = {
28
sshd = {
29
enable = true;