2024-12-20 22:37:44 -05:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
2024-12-20 21:06:04 -05:00
|
|
|
|
|
|
|
{
|
2024-12-20 22:37:44 -05:00
|
|
|
imports = [ ];
|
2024-12-20 21:06:04 -05:00
|
|
|
|
|
|
|
# Open ports in the firewall.
|
|
|
|
networking.firewall.allowedTCPPorts = [
|
|
|
|
22 # ssh
|
|
|
|
];
|
|
|
|
networking.firewall.allowedUDPPorts = [
|
|
|
|
5353 # mDNS
|
|
|
|
];
|
|
|
|
# Or disable the firewall altogether.
|
|
|
|
# networking.firewall.enable = false;
|
|
|
|
}
|