mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-19 06:19:12 +00:00
hosts/ni: move wireless configuration to appropriate file
This commit is contained in:
parent
d227116561
commit
d4395da314
@ -12,6 +12,26 @@
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
# The simpler WiFi manager.
|
||||
networking.wireless.iwd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
General = {
|
||||
EnableNetworkConfiguration = true;
|
||||
UseDefaultInterface = true;
|
||||
ControlPortOverNL80211 = true;
|
||||
};
|
||||
|
||||
Network = {
|
||||
AutoConnect = true;
|
||||
NameResolvingService = "systemd";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Set the NetworkManager backend to iwd for workflows that use it.
|
||||
network.networkmanager.wifi.backend = "iwd";
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot = {
|
||||
enable = true;
|
||||
|
@ -10,26 +10,6 @@
|
||||
interfaces.enp1s0.useDHCP = true;
|
||||
interfaces.wlp2s0.useDHCP = true;
|
||||
|
||||
# The simpler WiFi manager.
|
||||
wireless.iwd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
General = {
|
||||
EnableNetworkConfiguration = true;
|
||||
UseDefaultInterface = true;
|
||||
ControlPortOverNL80211 = true;
|
||||
};
|
||||
|
||||
Network = {
|
||||
AutoConnect = true;
|
||||
NameResolvingService = "systemd";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Set the NetworkManager backend to iwd for workflows that use it.
|
||||
networkmanager.wifi.backend = "iwd";
|
||||
|
||||
bonds.bond0 = {
|
||||
driverOptions = {
|
||||
miimon = "100";
|
||||
|
Loading…
Reference in New Issue
Block a user