16 lines
220 B
Nix
16 lines
220 B
Nix
{
|
|
config,
|
|
...
|
|
}: {
|
|
networking = {
|
|
hostName = "nixOS";
|
|
networkmanager.enable = true;
|
|
|
|
firewall = {
|
|
enable = true;
|
|
# allowedTCPPorts = [ 80 443];
|
|
# allowedUDPPorts = [];
|
|
};
|
|
};
|
|
}
|