nixos/modules/common/ssh.nix
Jake Hillion 867e953801
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
fixes: microserver.parents: correct tailscale subnet
fixes 6cbfc96257
2023-01-07 17:31:37 +00:00

13 lines
254 B
Nix

{ pkgs, lib, config, ... }:
{
users.users."jake".openssh.authorizedKeys.keyFiles = [ ./authorized_keys ];
programs.mosh.enable = true;
services.openssh = {
enable = true;
permitRootLogin = "no";
passwordAuthentication = false;
};
}