mirror of
https://github.com/Superredstone/nixos.git
synced 2026-06-17 15:24:39 +02:00
20 lines
254 B
Nix
20 lines
254 B
Nix
{ ... }:
|
|
{
|
|
networking = {
|
|
networkmanager.enable = true;
|
|
firewall = {
|
|
allowedTCPPorts = [
|
|
22
|
|
80
|
|
443
|
|
8001
|
|
];
|
|
allowedUDPPorts = [
|
|
80
|
|
443
|
|
];
|
|
enable = true;
|
|
};
|
|
};
|
|
}
|