fixup ssh: don't write to stdout

This commit is contained in:
Zhaofeng Li 2022-09-21 22:34:29 +00:00
parent 06d245c0af
commit 5ea968caac

View file

@ -103,6 +103,9 @@ in {
path = [ cfg.package ];
autoRestart = true;
script = ''
# don't write to stdout
exec >&2
${lib.flip lib.concatMapStrings cfg.hostKeys (k: ''
if ! [ -s "${k.path}" ]; then
if ! [ -h "${k.path}" ]; then