21 lines
No EOL
421 B
Nix
21 lines
No EOL
421 B
Nix
{pkgs, config, hostname, ...}: {
|
|
# Enable networking
|
|
# Imports for host-specific configs:
|
|
imports = [
|
|
../hosts/${hostname}/nixos/networking.nix
|
|
];
|
|
|
|
networking = {
|
|
networkmanager = {
|
|
enable = true;
|
|
};
|
|
|
|
enableIPv6 = false;
|
|
firewall = {
|
|
enable = true;
|
|
allowedTCPPorts = [ ];
|
|
allowedUDPPorts = [ ];
|
|
interfaces.tailscale0.allowedTCPPorts = [ 22 ];
|
|
};
|
|
};
|
|
} |