From c790672cc244ac4caba1bda3572829a6c6862891 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sun, 27 Oct 2019 09:48:52 -0700 Subject: move everything to namespace directories --- depo/nutin-madaj/networking.nix | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 depo/nutin-madaj/networking.nix (limited to 'depo/nutin-madaj/networking.nix') diff --git a/depo/nutin-madaj/networking.nix b/depo/nutin-madaj/networking.nix deleted file mode 100644 index 4cfd73d..0000000 --- a/depo/nutin-madaj/networking.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib, ... }: { - networking = { - - hostName = "simatime"; - - firewall = { - allowedTCPPorts = [ 22 80 443 ]; - allowPing = true; - }; - - # This following was populated at runtime with the networking details - # gathered from the active system. - nameservers = [ - "67.207.67.2" - "67.207.67.3" - ]; - defaultGateway = "159.89.128.1"; - defaultGateway6 = ""; - dhcpcd.enable = false; - usePredictableInterfaceNames = lib.mkForce true; - interfaces = { - eth0 = { - ipv4.addresses = [ - { address="159.89.128.69"; prefixLength=20; } -{ 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