diff options
author | lassulus <lass@aidsballs.de> | 2015-05-20 23:31:52 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-05-20 23:31:52 +0200 |
commit | b23c78957f9d9f3f00b55a2333672939e9ab3c5b (patch) | |
tree | 6894e6b89dc20dc55b96812cb3c71717b70bfaa4 | |
parent | 6b976a36f5ef72d7463f848b55f250b807291bfd (diff) |
cloudkrebs: add networking.nix
-rw-r--r-- | modules/cloudkrebs/networking.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/cloudkrebs/networking.nix b/modules/cloudkrebs/networking.nix new file mode 100644 index 0000000..fc50073 --- /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" + ]; +} |