Wifi is now working. Wooh

This commit is contained in:
James Patrick 2021-11-15 22:58:52 -05:00
parent bff60bd771
commit eda60fb70a
2 changed files with 8 additions and 5 deletions

View File

@ -20,10 +20,14 @@
# head -c4 /dev/urandom | od -A none -t x4
networking.hostId = "a7a1c3f5";
networking.hostName = "nil"; # Define your hostname.
networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
networking.wireless = {
enable = true; # Enables wireless support via wpa_supplicant.
interfaces = ["wlp3s0"]; # Enables wireless support via wpa_supplicant.
userControlled.enable = true;
};
# Set your time zone.
time.timeZone = "America/NewYork";
time.timeZone = "America/New_York";
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
# Per-interface useDHCP will be mandatory in the future, so this generated config
@ -31,6 +35,7 @@
networking.useDHCP = false;
networking.interfaces.enp2s0f0.useDHCP = true;
networking.interfaces.enp5s0.useDHCP = true;
networking.interfaces.wlp3s0.useDHCP = true;
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
@ -105,4 +110,3 @@
system.stateVersion = "21.05"; # Did you read the comment?
}

View File

@ -20,7 +20,6 @@
];
# Wifi support
boot.extraModulePackages = [ config.boot.kernelPackages.rtw89 ];
hardware.firmware = [ pkgs.rtw89-firmware ];
# For support of newer AMD GPUs, backlight and internal microphone
@ -28,7 +27,7 @@
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
boot.extraModulePackages = [ config.boot.kernelPackages.rtw89 ];
boot.supportedFilesystems = ["zfs"];
boot.initrd.luks.devices."crypt" =