update dishwasher
This commit is contained in:
parent
9cc55c5d0f
commit
368bceaab3
6 changed files with 49 additions and 38 deletions
|
@ -21,6 +21,7 @@
|
|||
hostName = "dishwasher"; # Define your hostname.
|
||||
useNetworkd = true;
|
||||
firewall.enable = true;
|
||||
wireless.iwd.enable = true;
|
||||
};
|
||||
|
||||
time.timeZone = "Europe/Amsterdam";
|
||||
|
@ -34,16 +35,23 @@
|
|||
matchConfig = {
|
||||
Name = "enp1s0";
|
||||
};
|
||||
networkConfig = {
|
||||
# DHCP = "yes";
|
||||
# LinkLocalAddressing = "ipv6";
|
||||
# IPv6AcceptRA = "yes";
|
||||
Address = "10.1.1.50/24";
|
||||
};
|
||||
# dhcpV6Config = {
|
||||
# WithoutRA = "solicit";
|
||||
# };
|
||||
# ipv6AcceptRAConfig = {
|
||||
# DHCPv6Client = "yes";
|
||||
# };
|
||||
};
|
||||
networks."aer" = {
|
||||
matchConfig.name = "wlan0";
|
||||
networkConfig = {
|
||||
DHCP = "yes";
|
||||
LinkLocalAddressing = "ipv6";
|
||||
IPv6AcceptRA = "yes";
|
||||
};
|
||||
dhcpV6Config = {
|
||||
WithoutRA = "solicit";
|
||||
};
|
||||
ipv6AcceptRAConfig = {
|
||||
DHCPv6Client = "yes";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -59,7 +67,7 @@
|
|||
|
||||
i18n = {
|
||||
defaultLocale = "en_US.UTF-8";
|
||||
supportedLocales = [ "en_US.UTF-8" "nl_NL.UTF-8" "ru_RU.UTF-8" ];
|
||||
supportedLocales = [ "all" ];
|
||||
};
|
||||
|
||||
# List services that you want to enable:
|
||||
|
|
|
@ -59,5 +59,7 @@
|
|||
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
networking.interfaces.wlan0.useDHCP = true;
|
||||
networking.interfaces.enp1s0.useDHCP = true;
|
||||
services.logind.lidSwitch = "ignore";
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
networking.nat = {
|
||||
enable = true;
|
||||
enableIPv6 = true;
|
||||
externalInterface = "enp1s0";
|
||||
externalInterface = "wlan0";
|
||||
internalInterfaces = [ "microvm-bridge" ];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue