nixos-configuration/modules/networking.nix
Vinzenz Schroeter 8b79ccd411 add niri wm
2025-03-16 10:25:59 +01:00

24 lines
439 B
Nix

_: {
config = {
services.openssh = {
enable = true;
openFirewall = true;
settings = {
PermitRootLogin = "without-password";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
services.tailscale = {
enable = true;
openFirewall = true;
};
networking.firewall = {
enable = true;
checkReversePath = "loose";
};
};
}