diff options
author | lassulus <lass@aidsballs.de> | 2015-05-20 23:31:52 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-05-21 23:56:35 +0200 |
commit | 1bf1ccb3964223431e2760976aa7cce1de74f0e2 (patch) | |
tree | d3d9302e09dfd09eec49ed39b3b972f1b5e1224a | |
parent | bb46e52bb239f9b0962ff441d5a8f037b1ef1eaf (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" + ]; +} |