set owner of generated ssh keys
This commit is contained in:
parent
6d776eabcb
commit
4ed1972ffa
1 changed files with 2 additions and 0 deletions
|
@ -77,6 +77,8 @@
|
||||||
${lib.optionalString (hostKey ? openSSHFormat && hostKey.openSSHFormat) "-o"} \
|
${lib.optionalString (hostKey ? openSSHFormat && hostKey.openSSHFormat) "-o"} \
|
||||||
-f "${path}" \
|
-f "${path}" \
|
||||||
-N ""
|
-N ""
|
||||||
|
chown ${config.home.username} ${path}*
|
||||||
|
chgrp ${config.home.username} ${path}*
|
||||||
fi
|
fi
|
||||||
''
|
''
|
||||||
}";
|
}";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue