Ssh, change default port to 22

To preserve current connections Onizuka's port was manually reverted to
the old 922 default, with the intention to follow that
This commit is contained in:
Julia Lange 2025-07-10 12:16:39 -07:00
parent 357dd65441
commit 4f1c8d4e7f
Signed by: Julia
SSH key fingerprint: SHA256:50XUMcOFYPUs9/1j7p9SPnwASZ7QnxXm7THF7HkbqzQ
2 changed files with 5 additions and 2 deletions

View file

@ -12,7 +12,10 @@
system.timezone = "America/Los_Angeles";
system.users.bigWheels = [ "pan" ];
sshd.enable = true;
sshd = {
enable = true;
port = 922;
}
tailscale.enable = true;
tuigreet.enable = true;

View file

@ -4,7 +4,7 @@
options.sshd = {
enable = lib.mkEnableOption "Enables ssh daemon";
port = lib.mkOption {
default = 922;
default = 22;
type = lib.types.port;
};
};