Server/ssh: only allow toast user
This commit is contained in:
parent
d8f2812003
commit
2d801ae06a
1 changed files with 1 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ in {
|
||||||
UseDns = true;
|
UseDns = true;
|
||||||
PermitRootLogin = "no";
|
PermitRootLogin = "no";
|
||||||
PasswordAuthentication = false;
|
PasswordAuthentication = false;
|
||||||
|
AllowUsers = ["toast"];
|
||||||
};
|
};
|
||||||
# The forgejo module is fucky so I can't set this with the nixos option
|
# The forgejo module is fucky so I can't set this with the nixos option
|
||||||
# https://github.com/NixOS/nixpkgs/issues/306205
|
# https://github.com/NixOS/nixpkgs/issues/306205
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue