mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 11:06:11 +01:00
13
hosts/modules/ssh.nix
Normal file
13
hosts/modules/ssh.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
ports = [ 22 ];
|
||||
|
||||
settings = {
|
||||
PasswordAuthentication = true;
|
||||
UseDns = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user