summaryrefslogtreecommitdiff
path: root/com
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-11-01 20:56:01 -0700
committerBen Sima <ben@bsima.me>2019-11-01 20:56:01 -0700
commitd51b2ea9aab10929b403de3b74e26117f1af7350 (patch)
tree3843e0f98a427c7c6e7f88d66f479b1474d75fc3 /com
parente05945d978a8c76f8b805a7b39268db36f43cbcb (diff)
formatting
Diffstat (limited to 'com')
-rw-r--r--com/simatime/networking.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/com/simatime/networking.nix b/com/simatime/networking.nix
index 4cfd73d..f634187 100644
--- a/com/simatime/networking.nix
+++ b/com/simatime/networking.nix
@@ -1,8 +1,8 @@
-{ lib, ... }: {
- networking = {
+{ lib, config, ... }:
+{
+ networking = {
hostName = "simatime";
-
firewall = {
allowedTCPPorts = [ 22 80 443 ];
allowPing = true;
@@ -22,17 +22,15 @@
eth0 = {
ipv4.addresses = [
{ address="159.89.128.69"; prefixLength=20; }
-{ address="10.46.0.6"; prefixLength=16; }
+ { address="10.46.0.6"; prefixLength=16; }
];
ipv6.addresses = [
{ address="fe80::e899:c0ff:fe9c:e194"; prefixLength=64; }
];
};
-
};
};
services.udev.extraRules = ''
ATTR{address}=="ea:99:c0:9c:e1:94", NAME="eth0"
-
'';
}