summaryrefslogtreecommitdiffstats
path: root/modules/networking-cd.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-03-19 23:04:35 +0100
committertv <tv@krebsco.de>2015-05-19 23:12:10 +0200
commitbdbf8f6b133ad3ef3a0b3be378bf0bcbe884f1e6 (patch)
treeb031855f40a1ea066559d8ee95cb242a76133673 /modules/networking-cd.nix
parent6fef6f0f9cc1d1c262a4e3c72c1f5c2e41ebb11b (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 0000000..215e208
--- /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"
+ ];
+}