blob: 573bdf4b475479f59aa3b361676855b95539be6f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{ lib, ... }:
let
private = import ../../config.private.nix;
in {
services.sshd.enable = true;
# Auth
users.users.bacchus.openssh.authorizedKeys.keys = private.ssh.authorizedKeys;
services.openssh.settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
ChallengeResponseAuthentication = false;
};
}
|