18 lines
177 B
Nix
18 lines
177 B
Nix
{ ... }:
|
|
|
|
{
|
|
networking.firewall = {
|
|
enable = true;
|
|
|
|
allowPing = true;
|
|
|
|
allowedTCPPorts = [
|
|
22
|
|
80
|
|
];
|
|
allowedUDPPorts = [
|
|
53
|
|
];
|
|
};
|
|
}
|