common: add module to disable RSA ssh hostkeys
Signed-off-by: Xe <me@christine.website>
This commit is contained in:
parent
2d9390142a
commit
8b32680160
|
@ -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" ];
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
services.openssh.hostKeys = [{
|
||||
path = "/etc/ssh/ssh_host_ed25519_key";
|
||||
type = "ed25519";
|
||||
}];
|
||||
}
|
Binary file not shown.
Loading…
Reference in New Issue