19 lines
307 B
Nix
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
|
|
];
|
|
};
|
|
}
|