Move network configuration

This commit is contained in:
David Morgan 2022-11-10 13:46:51 +00:00
parent 5cf952800f
commit 92b6abdcca
Signed by: djm
GPG Key ID: C171251002C200F2
1 changed files with 1 additions and 10 deletions

View File

@ -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;