This commit is contained in:
Lilith 2025-02-27 01:27:54 +01:00
parent 836a7e0e2c
commit c4eed0e32f
Signed by: lilith
GPG key ID: 8712A0F317C37175
9 changed files with 205 additions and 0 deletions

19
system/networking.nix Normal file
View file

@ -0,0 +1,19 @@
{...}: {
networking.networkmanager = {
enable = true;
wifi.macAddress = "random";
ethernet.macAddress = "random";
};
networking.nftables = {
enable = true;
};
networking.firewall = {
enable = true;
allowedTCPPorts = [
22 # ssh
22000 # syncthing
];
};
}