From 6c99817df0ef99773adb2622540849c9aad5fa80 Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 20 May 2015 23:31:52 +0200 Subject: [PATCH] cloudkrebs: add networking.nix --- modules/cloudkrebs/networking.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 modules/cloudkrebs/networking.nix 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" + ]; +}