I give up I cant get wifi card to work
This commit is contained in:
parent
1674b68318
commit
bde3d5177c
1 changed files with 21 additions and 1 deletions
|
@ -1,19 +1,39 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
|
config,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
# machine specific configuration
|
# machine specific configuration
|
||||||
# ==============================
|
# ==============================
|
||||||
hardware.enableAllFirmware = true;
|
hardware.enableAllFirmware = true;
|
||||||
|
hardware.enableRedistributableFirmware = true;
|
||||||
# Connectivity
|
# Connectivity
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
|
# networking.networkmanager.unmanaged = [ "interface-name:wlp*" ]; # Mark wireless as unmanaged
|
||||||
environment.shellAliases = {
|
environment.shellAliases = {
|
||||||
wifi = "nmtui";
|
wifi = "nmtui";
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ nvtopPackages.full ];
|
# Realtek wireless module support
|
||||||
|
# Ensure the rtl8192 module is loaded (RTL8190 typically uses rtl8192 driver)
|
||||||
|
|
||||||
|
# boot.extraModulePackages = [ config.boot.kernelPackages.rtl8192eu ];
|
||||||
|
boot.kernelModules = [
|
||||||
|
"rtl8192ce"
|
||||||
|
"rtl8192c_common"
|
||||||
|
"rtlwifi"
|
||||||
|
"mac80211"
|
||||||
|
];
|
||||||
|
# Install network management tools
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
pciutils
|
||||||
|
wirelesstools
|
||||||
|
iw
|
||||||
|
networkmanager
|
||||||
|
nvtopPackages.full
|
||||||
|
];
|
||||||
|
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue