2019-10-24 02:20:38 +02:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
# not needed anymore
|
|
|
|
# programs.ssh.hostKeyAlgorithms = [ "ssh-rsa" "ssh-ed25519" "ecdsa-sha2-nistp256" ];
|
|
|
|
|
|
|
|
services.custom.ssh = {
|
|
|
|
tools.enable = true;
|
|
|
|
sshd = {
|
2019-12-20 05:54:26 +01:00
|
|
|
enable = true;
|
2022-09-23 20:29:18 +02:00
|
|
|
rootKeyFiles = [ (toString ../../assets/ssh/palo_rsa.pub) ];
|
2019-10-24 02:20:38 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|