21 lines
294 B
Nix
21 lines
294 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
imports = [ ];
|
|
|
|
# Open ports in the firewall.
|
|
networking.firewall.allowedTCPPorts = [
|
|
22 # ssh
|
|
];
|
|
networking.firewall.allowedUDPPorts = [
|
|
5353 # mDNS
|
|
];
|
|
# Or disable the firewall altogether.
|
|
# networking.firewall.enable = false;
|
|
}
|