mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 08:08:11 +09:00
wifi connection
This commit is contained in:
@@ -2,13 +2,30 @@
|
|||||||
{
|
{
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "${host}";
|
hostName = "${host}";
|
||||||
networkmanager.enable = true;
|
|
||||||
|
|
||||||
nameservers = [ "127.0.0.1" "::1" ];
|
nameservers = [ "127.0.0.1" "::1" ];
|
||||||
networkmanager.dns = "none";
|
|
||||||
|
|
||||||
networkmanager.wifi.powersave = false;
|
networkmanager = {
|
||||||
|
enable = true;
|
||||||
|
dns = "none";
|
||||||
|
wifi.powersave = false;
|
||||||
|
wifi.backend = "wpa_supplicant";
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
"device"."wifi.scan-rand-mac-address" = "no";
|
||||||
|
|
||||||
|
"connection"."wifi.cloned-mac-address" = "permanent";
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
wireless.iwd.enable = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
boot.extraModprobeConfig = ''
|
||||||
|
options cfg80211 ieee80211_regdom=JP
|
||||||
|
options iwlwifi power_save=0
|
||||||
|
options iwlwifi uapsd_disable=1
|
||||||
|
'';
|
||||||
|
|
||||||
services.resolved.enable = false;
|
services.resolved.enable = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user