meow
This commit is contained in:
parent
e986986e79
commit
53c7532351
10 changed files with 131 additions and 107 deletions
|
|
@ -18,6 +18,25 @@ in
|
|||
useDHCP = true;
|
||||
useHostResolvConf = false;
|
||||
};
|
||||
systemd.network.networks."60-wifi-client" = {
|
||||
matchConfig = {
|
||||
WLANInterfaceType = "station";
|
||||
};
|
||||
networkConfig = {
|
||||
DHCP = "yes";
|
||||
IgnoreCarrierLoss = "3s";
|
||||
IPv6PrivacyExtensions = "kernel";
|
||||
};
|
||||
dhcpV4Config = {
|
||||
RouteMetric = 1025;
|
||||
# IPv6OnlyMode = "yes";
|
||||
};
|
||||
ipv6AcceptRAConfig = {
|
||||
# UsePREF64 = true;
|
||||
RouteMetric = 1025;
|
||||
};
|
||||
|
||||
};
|
||||
# systemd.network.networks."60-wifi-client" = {
|
||||
# matchConfig = {
|
||||
# WLANInterfaceType = "station";
|
||||
|
|
@ -57,6 +76,12 @@ in
|
|||
# # ipv6AcceptRAConfig.UsePREF64 = true;
|
||||
# };
|
||||
networking.wireless.iwd.enable = cfg.enableWifi;
|
||||
networking.wireless.iwd.settings = {
|
||||
General = {
|
||||
AddressRandomization = "network";
|
||||
AddressRandomizationRange = "full";
|
||||
};
|
||||
};
|
||||
xyno.impermanence.directories = lib.optionals cfg.enableWifi [ "/var/lib/iwd" ];
|
||||
# services.clatd.enable = true;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue