nixos/system/core/networking.nix
2025-03-12 15:43:41 +01:00

19 lines
307 B
Nix

{...}: {
networking.networkmanager = {
enable = true;
wifi.macAddress = "random";
ethernet.macAddress = "random";
};
networking.nftables = {
enable = true;
};
networking.firewall = {
enable = true;
allowedTCPPorts = [
22 # ssh
22000 # syncthing
];
};
}