summaryrefslogtreecommitdiffstats
path: root/modules/cloudkrebs/networking.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-05-20 23:31:52 +0200
committerlassulus <lass@aidsballs.de>2015-05-21 23:56:35 +0200
commit6c99817df0ef99773adb2622540849c9aad5fa80 (patch)
treed3d9302e09dfd09eec49ed39b3b972f1b5e1224a /modules/cloudkrebs/networking.nix
parentf8b1e849a6a3bd53f24a4aac70bc904cdb5ff711 (diff)
cloudkrebs: add networking.nix
Diffstat (limited to 'modules/cloudkrebs/networking.nix')
-rw-r--r--modules/cloudkrebs/networking.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/cloudkrebs/networking.nix b/modules/cloudkrebs/networking.nix
new file mode 100644
index 000000000..fc5007365
--- /dev/null
+++ b/modules/cloudkrebs/networking.nix
@@ -0,0 +1,14 @@
+{...}:
+{
+ networking.hostName = "cloudkrebs";
+ networking.interfaces.enp2s1.ip4 = [
+ {
+ address = "104.167.113.104";
+ prefixLength = 24;
+ }
+ ];
+ networking.defaultGateway = "104.167.113.1";
+ networking.nameservers = [
+ "8.8.8.8"
+ ];
+}