mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
hosts/athame: IPv6 support
This commit is contained in:
parent
7314bbde47
commit
495d4d6f9b
1 changed files with 11 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, profiles, ... }:
|
||||
{ config, lib, pkgs, profiles, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
|
@ -43,6 +43,16 @@
|
|||
useDHCP = false;
|
||||
interfaces.enp1s0.useDHCP = true;
|
||||
};
|
||||
|
||||
networking.interfaces.enp1s0.ipv6.addresses = [ {
|
||||
address = "2a01:4f8:c2c:b7a8::1";
|
||||
prefixLength = 64;
|
||||
} ];
|
||||
|
||||
networking.defaultGateway6 = {
|
||||
address = "fe80::1";
|
||||
interface = "enp1s0";
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts =
|
||||
[ 22 80 443 5160 5060 8999 64738 1935 53589 5001 ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue