mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-24 06:19:11 +00:00
hosts/plover: update IPv6 address for main network interface
This commit is contained in:
parent
382a5e6939
commit
1bb128401e
@ -40,12 +40,13 @@ in
|
|||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
useDHCP = false;
|
enableIPv6 = true;
|
||||||
usePredictableInterfaceNames = true;
|
usePredictableInterfaceNames = true;
|
||||||
useNetworkd = true;
|
useNetworkd = true;
|
||||||
|
|
||||||
# We're using networkd to configure so we're disabling this
|
# We're using networkd to configure so we're disabling this
|
||||||
# service.
|
# service.
|
||||||
|
useDHCP = false;
|
||||||
dhcpcd.enable = false;
|
dhcpcd.enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -66,7 +67,7 @@ in
|
|||||||
|
|
||||||
# The public IPv6 is assigned to a server so we'll to have to go with
|
# The public IPv6 is assigned to a server so we'll to have to go with
|
||||||
# something else.
|
# something else.
|
||||||
"${publicIPv6}1/${toString publicIPv6PrefixLength}"
|
"${publicIPv6}2/${toString publicIPv6PrefixLength}"
|
||||||
];
|
];
|
||||||
|
|
||||||
networkConfig = {
|
networkConfig = {
|
||||||
|
Loading…
Reference in New Issue
Block a user