summaryrefslogtreecommitdiffstats
path: root/modules/networking-cd.nix
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-03-19 23:04:35 +0100
committertv <tv@shackspace.de>2015-05-19 23:12:10 +0200
commit4442053d0e41838af0670f38e86e1bd7aa426e3a (patch)
treeb031855f40a1ea066559d8ee95cb242a76133673 /modules/networking-cd.nix
parent8f0c5e351367e93d753f3160dbfe29071c566dc5 (diff)
cd: initial commit
Diffstat (limited to 'modules/networking-cd.nix')
-rw-r--r--modules/networking-cd.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/networking-cd.nix b/modules/networking-cd.nix
new file mode 100644
index 000000000..215e20829
--- /dev/null
+++ b/modules/networking-cd.nix
@@ -0,0 +1,14 @@
+{...}:
+{
+ networking.hostName = "cd";
+ networking.interfaces.enp2s1.ip4 = [
+ {
+ address = "162.219.7.216";
+ prefixLength = 24;
+ }
+ ];
+ networking.defaultGateway = "162.219.7.1";
+ networking.nameservers = [
+ "8.8.8.8"
+ ];
+}