summaryrefslogtreecommitdiffstats
path: root/modules/rmdir/networking.nix
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-06-19 22:06:24 +0200
committertv <tv@shackspace.de>2015-06-19 22:06:24 +0200
commit1538630782ac8c56d549af4fcac4c9abcba8c9c5 (patch)
tree35279433e44979ad8c240d3b5bba625702659044 /modules/rmdir/networking.nix
parente5b14a9ed69a75f57a2184f85f5b4f24cb50da51 (diff)
host rmdir: initial commit
Diffstat (limited to 'modules/rmdir/networking.nix')
-rw-r--r--modules/rmdir/networking.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/rmdir/networking.nix b/modules/rmdir/networking.nix
new file mode 100644
index 000000000..45dae3dcb
--- /dev/null
+++ b/modules/rmdir/networking.nix
@@ -0,0 +1,14 @@
+{...}:
+{
+ networking.hostName = "rmdir";
+ networking.interfaces.enp2s1.ip4 = [
+ {
+ address = "162.219.6.2";
+ prefixLength = 24;
+ }
+ ];
+ networking.defaultGateway = "162.219.6.1";
+ networking.nameservers = [
+ "8.8.8.8"
+ ];
+}