nixcfg/modules/home/tools/ssh/default.nix
Harald Hoyer 50f8db87eb Remove unnecessary SSH rsa key configuration
The `HostKeyAlgorithms +ssh-rsa` setting has been removed from the SSH configuration in the default Nix file. This change simplifies the config and helps ensure compatibility with modern security practices.
2024-11-27 17:26:15 +01:00

24 lines
322 B
Nix

{
lib,
config,
pkgs,
...
}:
let
inherit (lib) types mkEnableOption mkIf;
cfg = config.metacfg.tools.ssh;
in
{
options.metacfg.tools.ssh = {
enable = mkEnableOption "SSH";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [ mosh ];
programs.ssh = {
enable = true;
};
};
}