From d51b2ea9aab10929b403de3b74e26117f1af7350 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 1 Nov 2019 20:56:01 -0700 Subject: formatting --- com/simatime/networking.nix | 10 ++++------ 1 file 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" - ''; } -- cgit v1.2.3