use nonstandard ssh port

This commit is contained in:
do butterflies cry? 2026-02-16 16:37:55 +10:00
parent 5dded316af
commit 31e7614d0d
2 changed files with 31 additions and 8 deletions

View file

@ -1,8 +1,15 @@
{lib, ...}: {
networking.firewall = {
allowedTCPPorts = [
42069 # ssh
];
{
pkgs,
lib,
...
}: {
networking = {
firewall = {
allowedTCPPorts = [
42069 # ssh
];
};
nftables.enable = true;
};
security = {
@ -68,4 +75,8 @@
};
};
};
environment.systemPackages = with pkgs; [
unixtools.netstat
];
}