Files
nextcloud_ecosystem/OLD CONFIGS/nix_new/modules/nixos/services/sshd.nix
T
2026-02-22 17:28:02 +01:00

19 lines
457 B
Nix

# SSH client only (no server).
# - Installs OpenSSH client tools (ssh, scp, sftp, ssh-keygen, etc.)
# - Enables ssh-agent for user sessions
{ config, lib, pkgs, ... }:
{
# Install the OpenSSH client tools
environment.systemPackages = with pkgs; [
#openssh
];
# Start ssh-agent automatically for users (handy baseline)
programs.ssh.startAgent = true;
# Explicitly ensure the SSH server is NOT enabled
services.openssh.enable = false;
}