summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-05-20 23:31:52 +0200
committerlassulus <lass@aidsballs.de>2015-05-20 23:31:52 +0200
commit542696394058cf870dd9143fe0f3a70a964a4c55 (patch)
tree6894e6b89dc20dc55b96812cb3c71717b70bfaa4
parentb95a514bcced00af77ae4adab77326dba9ab4c36 (diff)
cloudkrebs: add 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"
+ ];
+}