Server/ssh: only allow toast user

This commit is contained in:
Toast 2025-12-14 02:16:23 +01:00
parent d8f2812003
commit 2d801ae06a

View file

@ -48,6 +48,7 @@ in {
UseDns = true;
PermitRootLogin = "no";
PasswordAuthentication = false;
AllowUsers = ["toast"];
};
# The forgejo module is fucky so I can't set this with the nixos option
# https://github.com/NixOS/nixpkgs/issues/306205