mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 15:26:11 +01:00
33 lines
507 B
Nix
33 lines
507 B
Nix
{
|
|
inputs,
|
|
outputs,
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
networking.networkmanager.wifi.backend = "iwd";
|
|
|
|
networking.wireless.iwd = {
|
|
enable = true;
|
|
settings = {
|
|
General = {
|
|
EnableNetworkConfiguration = true;
|
|
UseDefaultInterface = true;
|
|
};
|
|
Settings = {
|
|
AutoConnect = true;
|
|
};
|
|
};
|
|
};
|
|
|
|
# system.activationScripts = {
|
|
# rfkillUnblockWlan = {
|
|
# text = ''
|
|
# rfkill unblock wlan
|
|
# '';
|
|
# deps = [];
|
|
# };
|
|
# };
|
|
}
|