Skip to content

Commit

Permalink
Disable wifi power_save to fix unstable Wi-Fi
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Aug 1, 2024
1 parent 2f60405 commit a7df2a5
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions nixos/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,16 @@
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";

# Enable networking
networking.networkmanager.enable = true;
# https://github.com/NixOS/nixpkgs/blob/nixos-24.05/nixos/modules/services/networking/networkmanager.nix
networking.networkmanager = {
enable = true;

# https://github.com/NixOS/nixpkgs/blob/nixos-24.05/nixos/modules/services/networking/networkmanager.nix#L261-L289
wifi = {
# https://github.com/kachick/dotfiles/issues/663#issuecomment-2262189168
powersave = false;
};
};

# Set your time zone.
time.timeZone = "Asia/Tokyo";
Expand Down

0 comments on commit a7df2a5

Please sign in to comment.