add wayland
This commit is contained in:
17
modules/core/ssh.nix
Normal file
17
modules/core/ssh.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
...
|
||||
}:
|
||||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PasswordAuthentication = true;
|
||||
AllowUsers = null;
|
||||
UseDns = true;
|
||||
X11Forwarding = false;
|
||||
PermitRootLogin = "no";
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
}
|
||||
Reference in New Issue
Block a user