nixcfg/network/sshd/default.nix
2024-02-29 17:06:55 -05:00

14 lines
265 B
Nix

{ config, pkgs, ... }:
{
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
# List services that you want to enable:
# Enable the OpenSSH daemon.
services.openssh.enable = true;
networking.firewall.allowedTCPPorts = [ 22 ];
}