services: home-assistant: use batch mode for ssh invocations
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
417ff5defa
commit
8ee22e9e5c
|
@ -58,6 +58,7 @@ in {
|
||||||
shell_command.poweroff_zero = trimNewlines ''
|
shell_command.poweroff_zero = trimNewlines ''
|
||||||
${pkgs.openssh}/bin/ssh
|
${pkgs.openssh}/bin/ssh
|
||||||
-i ${secrets."home-assistant/automation-sshkey".path}
|
-i ${secrets."home-assistant/automation-sshkey".path}
|
||||||
|
-o BatchMode=yes
|
||||||
-o StrictHostKeyChecking=no
|
-o StrictHostKeyChecking=no
|
||||||
automation@zero poweroff
|
automation@zero poweroff
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue