Skip to content

Commit

Permalink
More wifi changes in the default image
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvorobiev authored Jan 21, 2022
1 parent 4958f96 commit 4933835
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion configuration.default.sdImage.nix
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,23 @@
#networking.firewall.enable = false;

# WiFi
systemd.services.iwd.serviceConfig.Restart = "always";
hardware = {
enableRedistributableFirmware = true;
firmware = [ pkgs.wireless-regdb ];
};

networking = {
useDHCP = false;
interfaces.wlan0.useDHCP = true;
networkmanager.wifi.backend = "iwd";
wireless.iwd.enable = true;
};
boot = {
extraModprobeConfig = ''
options cf680211 ieee80211_regdom="US"
'';
};

i18n = {
consoleKeyMap = "us";
defaultLocale = "en_US.UTF-8";
Expand Down

0 comments on commit 4933835

Please sign in to comment.