ssh: enable host key checking
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
d854f9bd80
commit
2c4d84ec9b
1 changed files with 0 additions and 6 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue