wired is back

This commit is contained in:
Grigory Shipunov 2023-04-03 22:32:14 +02:00
parent 596d36f365
commit 08bcc74f0c
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
2 changed files with 10 additions and 12 deletions

View file

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

View file

@ -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" ];
}; };