modules/config: init new module
Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
@ -0,0 +1,15 @@
|
||||
{config, ...}: {
|
||||
networking = {
|
||||
networkmanager.wifi.backend =
|
||||
if config.module.config.useIwd
|
||||
then "iwd"
|
||||
else "wpa_supplicant";
|
||||
wireless.iwd = {
|
||||
enable = config.module.config.useIwd;
|
||||
settings = {
|
||||
General.AddressRandomization = "network";
|
||||
Settings.AlwaysRandomizeAddress = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user