diff --git a/roles/server/ssh.nix b/roles/server/ssh.nix index 66e163d..33694c3 100755 --- a/roles/server/ssh.nix +++ b/roles/server/ssh.nix @@ -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