myputer specific changes
This commit is contained in:
parent
1d4189b040
commit
a448ce3f39
216 changed files with 544 additions and 24478 deletions
13
homes/modules/server/ssh.nix
Executable file
13
homes/modules/server/ssh.nix
Executable 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