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.
useNetworkd = true;
firewall.enable = true;
wireless.iwd.enable = true;
};
time.timeZone = "Europe/Amsterdam";
@ -41,17 +40,16 @@
Name = "enp1s0";
};
networkConfig = {
# DHCP = "yes";
# LinkLocalAddressing = "ipv6";
# IPv6AcceptRA = "yes";
Address = "10.1.1.50/24";
DHCP = "yes";
LinkLocalAddressing = "ipv6";
IPv6AcceptRA = "yes";
};
dhcpV6Config = {
WithoutRA = "solicit";
};
ipv6AcceptRAConfig = {
DHCPv6Client = "yes";
};
# dhcpV6Config = {
# WithoutRA = "solicit";
# };
# ipv6AcceptRAConfig = {
# DHCPv6Client = "yes";
# };
};
networks."aer" = {
matchConfig.Name = "wlan0";

View file

@ -45,7 +45,7 @@
networking.nat = {
enable = true;
enableIPv6 = true;
externalInterface = "wlan0";
externalInterface = "enp1s0";
internalInterfaces = [ "microvm-bridge" ];
};