diff options
author | tv <tv@shackspace.de> | 2015-06-14 19:22:37 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-06-14 19:22:37 +0200 |
commit | bff3b50dddb1bb37831d9f17ca25ccab7f7476fe (patch) | |
tree | 6a36b91b0ed33ba90b4da32d1fa995789f923a8d /modules/cloudkrebs/networking.nix | |
parent | 78c3c09f1579d1f8132d95d260e9ed8789d3dfc5 (diff) | |
parent | afa7f0b98d89c9746c204e4ee0dd79e7ae4eb23f (diff) |
Merge remote-tracking branch 'mors/master' into mors-staging
Diffstat (limited to 'modules/cloudkrebs/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 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" + ]; +} |