mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
hosts/ni: switch wireless setup to default
Surprised it has lasted this long, really.
This commit is contained in:
parent
26dbaba4ae
commit
2df2bd2104
@ -14,29 +14,6 @@
|
|||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
# The simpler WiFi manager.
|
|
||||||
networking.wireless.iwd = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
General = {
|
|
||||||
EnableNetworkConfiguration = true;
|
|
||||||
ControlPortOverNL80211 = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
Network.NameResolvingService = "systemd";
|
|
||||||
Settings.AutoConnect = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Welp....
|
|
||||||
systemd.network.links."80-iwd" = {
|
|
||||||
matchConfig = lib.mkForce { };
|
|
||||||
linkConfig = lib.mkForce { };
|
|
||||||
};
|
|
||||||
|
|
||||||
# Set the NetworkManager backend to iwd for workflows that use it.
|
|
||||||
networking.networkmanager.wifi.backend = "iwd";
|
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
boot.loader.systemd-boot = {
|
boot.loader.systemd-boot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user