wired is back
This commit is contained in:
parent
596d36f365
commit
08bcc74f0c
2 changed files with 10 additions and 12 deletions
|
@ -21,7 +21,6 @@
|
||||||
hostName = "dishwasher"; # Define your hostname.
|
hostName = "dishwasher"; # Define your hostname.
|
||||||
useNetworkd = true;
|
useNetworkd = true;
|
||||||
firewall.enable = true;
|
firewall.enable = true;
|
||||||
wireless.iwd.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
time.timeZone = "Europe/Amsterdam";
|
time.timeZone = "Europe/Amsterdam";
|
||||||
|
@ -41,17 +40,16 @@
|
||||||
Name = "enp1s0";
|
Name = "enp1s0";
|
||||||
};
|
};
|
||||||
networkConfig = {
|
networkConfig = {
|
||||||
# DHCP = "yes";
|
DHCP = "yes";
|
||||||
# LinkLocalAddressing = "ipv6";
|
LinkLocalAddressing = "ipv6";
|
||||||
# IPv6AcceptRA = "yes";
|
IPv6AcceptRA = "yes";
|
||||||
Address = "10.1.1.50/24";
|
};
|
||||||
|
dhcpV6Config = {
|
||||||
|
WithoutRA = "solicit";
|
||||||
|
};
|
||||||
|
ipv6AcceptRAConfig = {
|
||||||
|
DHCPv6Client = "yes";
|
||||||
};
|
};
|
||||||
# dhcpV6Config = {
|
|
||||||
# WithoutRA = "solicit";
|
|
||||||
# };
|
|
||||||
# ipv6AcceptRAConfig = {
|
|
||||||
# DHCPv6Client = "yes";
|
|
||||||
# };
|
|
||||||
};
|
};
|
||||||
networks."aer" = {
|
networks."aer" = {
|
||||||
matchConfig.Name = "wlan0";
|
matchConfig.Name = "wlan0";
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
networking.nat = {
|
networking.nat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableIPv6 = true;
|
enableIPv6 = true;
|
||||||
externalInterface = "wlan0";
|
externalInterface = "enp1s0";
|
||||||
internalInterfaces = [ "microvm-bridge" ];
|
internalInterfaces = [ "microvm-bridge" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue