Files
nix-config/hosts/thor/networking.nix
2024-04-25 11:45:48 +02:00

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 = [];
# };
# };
}