summaryrefslogtreecommitdiff
path: root/com/simatime
diff options
context:
space:
mode:
Diffstat (limited to 'com/simatime')
-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"
-
'';
}