os/shared/core/ssh.nix
2023-06-17 12:51:00 +02:00

14 lines
No EOL
178 B
Nix

{ pkgs, ... }:
{
services.openssh = {
enable = true;
settings.PasswordAuthentication = false;
};
users.users."riley" = {
packages = [ pkgs.openssh ];
};
}