From dcd2c4c4d71161301a956b7e4777b499f5010e74 Mon Sep 17 00:00:00 2001 From: Isabella Bastaja Date: Tue, 18 Aug 2026 20:07:35 +0200 Subject: tower: init --- hosts/tower/ssh.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 hosts/tower/ssh.nix (limited to 'hosts/tower/ssh.nix') diff --git a/hosts/tower/ssh.nix b/hosts/tower/ssh.nix new file mode 100644 index 0000000..13da162 --- /dev/null +++ b/hosts/tower/ssh.nix @@ -0,0 +1,16 @@ +{ ... }: +{ + services.openssh = { + enable = true; + ports = [ 52222 ]; + settings = { + PermitRootLogin = "no"; + PasswordAuthentication = false; + AllowUsers = [ + "isabella" + ]; + }; + }; + + networking.firewall.allowedTCPPorts = [ 52222 ]; +} -- cgit v1.3.1