Files
MinOS-prime/nixos/networking.nix

35 lines
916 B
Nix

{ pkgs, ... }:
{
# Enable networking
networking.hostName = "vendetti"; # Define your hostname.
# Pick only one of the below networking options.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
# networking.networkmanager.wifi.backend = "iwd";
networking.wireless.iwd = {
enable = false;
settings = {
General = {
EnableNetworkConfiguration = true;
};
Network = {
EnableIPv6 = false;
};
Scan = {
DisablePeriodicScan = true;
};
};
};
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
# environment.systemPackages = with pkgs; [
# iwgtk
# impala
# ];
}