lolcathost specific changes
This commit is contained in:
parent
1d4189b040
commit
40864af04f
18 changed files with 580 additions and 1167 deletions
13
homes/modules/server/ssh.nix
Normal file
13
homes/modules/server/ssh.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{...}: {
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
ports = [22];
|
||||
settings = {
|
||||
PasswordAuthentication = true;
|
||||
PermitRootLogin = "no";
|
||||
AllowUsers = null; # allow all users by default
|
||||
UseDns = true;
|
||||
X11Forwarding = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue