Files
nix-config/hosts/modules/ssh.nix
Michał Czyż 720c05f9b0 new nixos dotfile layout
Signed-off-by: Michał Czyż <mike@c2yz.com>
2024-11-04 13:28:47 +01:00

14 lines
203 B
Nix

{
networking.firewall.allowedTCPPorts = [ 22 ];
services.openssh = {
enable = true;
ports = [ 22 ];
settings = {
PasswordAuthentication = true;
UseDns = true;
};
};
}