homeACE
This commit is contained in:
12
system-modules/sshd.nix
Normal file
12
system-modules/sshd.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ config, pkgs, lib, secrets, ... }:
|
||||
|
||||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
ports = secrets.nx2site.ssh.ports;
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user