1
1
Fork 0

ssh: enable host key checking

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2025-01-29 14:10:39 -06:00
parent d854f9bd80
commit 2c4d84ec9b
Signed by: Myned
GPG key ID: C7224454F7881A34

View file

@ -9,12 +9,6 @@ in {
options.custom.programs.ssh.enable = mkOption {default = false;};
config = mkIf cfg.enable {
# Disable prompt for new hosts
# MitM warning is still active
programs.ssh.extraConfig = ''
StrictHostKeyChecking no
'';
home-manager.users.${config.custom.username} = {
programs.ssh.enable = true;