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