Harald Hoyer
50f8db87eb
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.
24 lines
322 B
Nix
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;
|
|
};
|
|
};
|
|
}
|