Gitlab: Difference between revisions
m tiny typo |
imported from old wiki |
||
Line 120: | Line 120: | ||
==Notes== | ==Notes== | ||
Gitlab will add a user "gitlab" to your NixOS, many tutorials online point to using git over ssh with the user "git", which in our case will not match since there is no user "git". If you configure your SSH hosts with ~/.ssh/config this should work: | |||
Host your.selfhosted.com | |||
HostName your.selfhosted.com | |||
User gitlab | |||
IdentityFile /path/to/your/ssh/private/key | |||
# The following are optional: | |||
IdentitiesOnly yes | |||
PreferredAuthentications publickey | |||
<references /> | <references /> | ||