From 92b6abdccacd0abb76a7bdfb937ec2b8c38e1d9a Mon Sep 17 00:00:00 2001 From: David Morgan Date: Thu, 10 Nov 2022 13:46:51 +0000 Subject: [PATCH] Move network configuration --- nix-conf/machines/edrahil/configuration.nix | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/nix-conf/machines/edrahil/configuration.nix b/nix-conf/machines/edrahil/configuration.nix index a23c420..149bf6c 100644 --- a/nix-conf/machines/edrahil/configuration.nix +++ b/nix-conf/machines/edrahil/configuration.nix @@ -1,6 +1,7 @@ { config, pkgs,... }: { imports = [ ./hardware-configuration.nix + ./network-configuration.nix ]; boot.cleanTmpDir = true; @@ -11,16 +12,6 @@ enable = true; allowedTCPPorts = [ 113 2222 ]; }; - networking = { - interfaces.ens3.ipv6.addresses = [{ - address = "2a01:4f8:c0c:2be9::1"; - prefixLength = 64; - }]; - defaultGateway6 = { - address = "fe80::1"; - interface = "ens3"; - }; -}; services.openssh = { enable = true;