17 lines
496 B
Nix
Executable File
17 lines
496 B
Nix
Executable File
{ pkgs, ... } : {
|
|
networking = {
|
|
# allow automatic ip assignment when connecting to a network
|
|
useDHCP = pkgs.lib.mkDefault true;
|
|
networkmanager.enable = true;
|
|
firewall.enable = true;
|
|
|
|
# let wifi info be NOT declarative, allowing user to configure wifi.
|
|
wireless.userControlled.enable = true;
|
|
wireless.iwd.enable = true;
|
|
networkmanager.wifi.backend = "wpa_supplicant";
|
|
};
|
|
|
|
# tui to manage wifi networks
|
|
environment.systemPackages = with pkgs; [ impala ];
|
|
}
|