os/shared/core/ssh.nix

14 lines
178 B
Nix
Raw Normal View History

2023-05-23 09:58:47 +02:00
{ pkgs, ... }:
{
services.openssh = {
enable = true;
2023-06-17 12:51:00 +02:00
settings.PasswordAuthentication = false;
2023-05-23 09:58:47 +02:00
};
users.users."riley" = {
packages = [ pkgs.openssh ];
};
}