nix-config/hosts/modules/common/openssh.nix

13 lines
198 B
Nix

{ ... }:
{
services.openssh = {
enable = true;
settings.PermitRootLogin = "no";
};
programs.fish.interactiveShellInit = ''
if set -q SSH_CONNECTION
neofetch
end
'';
}