22 lines
360 B
Nix
22 lines
360 B
Nix
{ ... }:
|
|
{
|
|
networking.networkmanager = {
|
|
enable = true;
|
|
wifi.macAddress = "random";
|
|
ethernet.macAddress = "random";
|
|
};
|
|
|
|
networking.nameservers = [ "192.168.178.111" ];
|
|
|
|
networking.nftables = {
|
|
enable = true;
|
|
};
|
|
|
|
networking.firewall = {
|
|
enable = true;
|
|
allowedTCPPorts = [
|
|
22 # ssh
|
|
22000 # syncthing
|
|
];
|
|
};
|
|
}
|