initial setup ipv6
This commit is contained in:
parent
31b692bc15
commit
b87fd21286
1 changed files with 11 additions and 1 deletions
|
|
@ -44,7 +44,17 @@
|
|||
domain = "lo-probst.de";
|
||||
networkmanager.enable = true; # Configure network connections interactively with nmcli or nmtui.
|
||||
useDHCP = false;
|
||||
interfaces.enp1s0.useDHCP = true;
|
||||
interfaces.enp1s0 = {
|
||||
useDHCP = true;
|
||||
ipv6.addresses = [ {
|
||||
address = "2a01:4f8:c010:b496::1";
|
||||
prefixLength = 64;
|
||||
} ];
|
||||
};
|
||||
defaultGateway6 = {
|
||||
address = "fe80::1";
|
||||
interface = "enp1s0";
|
||||
};
|
||||
# Open ports in the firewall.
|
||||
firewall.allowedTCPPorts = [ 80 443 ];
|
||||
# firewall.allowedUDPPorts = [ ... ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue