diff options
author | Ben Sima <ben@bsima.me> | 2019-11-01 20:56:01 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2019-11-01 20:56:01 -0700 |
commit | d51b2ea9aab10929b403de3b74e26117f1af7350 (patch) | |
tree | 3843e0f98a427c7c6e7f88d66f479b1474d75fc3 /com/simatime | |
parent | e05945d978a8c76f8b805a7b39268db36f43cbcb (diff) |
formatting
Diffstat (limited to 'com/simatime')
-rw-r--r-- | com/simatime/networking.nix | 10 |
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" - ''; } |