nixos configurations
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
598 B

{ config, lib, pkgs, settings, ... }:
{
# Network host configuration.
networking.hostId = settings.hostId;
networking.hostName = settings.hostName;
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
networking.firewall.enable = false;
networking.networkmanager.enable = true;
networking.networkmanager.ensureProfiles.profiles = settings.networkmanager.profiles;
environment.systemPackages = with pkgs; [
dnsutils
iperf
nmap
netcat-gnu
];
}