Files
cnix/nixos/core/network/toothpc.nix
2024-07-27 18:53:16 +02:00

16 lines
262 B
Nix

{
networking = {
networkmanager.enable = true;
hostName = "toothpc";
nftables.enable = true;
firewall = {
enable = true;
interfaces = {
"enp4s0" = {
allowedTCPPorts = [22 80 443];
};
};
};
};
}