common: add module to disable RSA ssh hostkeys

Signed-off-by: Xe <me@christine.website>
This commit is contained in:
Cadey Ratio 2023-01-03 20:18:29 -05:00
parent 2d9390142a
commit 8b32680160
3 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,5 @@
{ config, lib, pkgs, ... }: {
imports = [ ./users ./microcode.nix ];
imports = [ ./users ./microcode.nix ./no-rsa-ssh-hostkey.nix ];
boot.cleanTmpDir = true;
boot.kernelModules = [ "wireguard" ];

View File

@ -0,0 +1,6 @@
{
services.openssh.hostKeys = [{
path = "/etc/ssh/ssh_host_ed25519_key";
type = "ed25519";
}];
}

BIN
hosts/.DS_Store vendored

Binary file not shown.