about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-11-10 13:46:51 +0000
committerDavid Morgan <djm_uk@protonmail.com>2022-11-10 13:46:51 +0000
commit92b6abdccacd0abb76a7bdfb937ec2b8c38e1d9a (patch)
treee9970a07dc9291dfe5d92a045d81b01155d6fc72
parent5cf952800fbc8b4cd8adec4ff2d5f338d127111e (diff)
downloaddotfiles-92b6abdccacd0abb76a7bdfb937ec2b8c38e1d9a.tar.gz
Move network configuration
-rw-r--r--nix-conf/machines/edrahil/configuration.nix11
1 files changed, 1 insertions, 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;