Files
nextcloud_ecosystem/OLD CONFIGS/system-master_BAK/configuration/networking.nix
T
2026-02-22 17:28:02 +01:00

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 ];
}