set owner of generated ssh keys

This commit is contained in:
Leyla Becker 2025-02-15 20:49:50 -06:00
parent 6d776eabcb
commit 4ed1972ffa

View file

@ -77,6 +77,8 @@
${lib.optionalString (hostKey ? openSSHFormat && hostKey.openSSHFormat) "-o"} \
-f "${path}" \
-N ""
chown ${config.home.username} ${path}*
chgrp ${config.home.username} ${path}*
fi
''
}";