mirror of https://git.jolheiser.com/dotnix.git
30 lines
1.1 KiB
Nix
30 lines
1.1 KiB
Nix
{
|
|
services.ugit = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
authorizedKeys = [
|
|
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAMAN5+UcBIQ5jQgd74yabfQRCfMToFNAfmU6M5MmFSb3C1Txkdr2lPeaev5enTm70mWrFYs2FC3oA0nWHvkxoBKzYmhRiRGPJ/6VQVaZbQP1j3MFKosCIXzN0GqVb5VPz/4jjX5hW2HWtyf4XID63rHJLmD0lwJVfxsue/wftTaSqNeCZjC9jNuDB+vlJRHsvLfk1ssiQ6V2508ZgImHG/LuS/WpMsd8zvI2vqZh4nVr9Bmc8U2B5KtOOcT/HpKRBfGPRTJyQ+vgqIx96J8ah5eK19jO/nTKiqobMkIgPiXkKyZa+Z5NzMe728sL6eTfWRimbU+sVSizVtvDdkSfx"
|
|
];
|
|
tsAuthKey = "tskey-auth-kRUJE7zxH621CNTRL-Td29STXSrtTUHdacaKaYtTD82uyDXZj7"; # One-time key
|
|
config = {
|
|
ssh.clone-url = "ugit@git.jolheiser.com";
|
|
http.clone-url = "https://git.jolheiser.com";
|
|
log.json = true;
|
|
profile = {
|
|
username = "jolheiser";
|
|
email = "ugit@jolheiser.com";
|
|
links = [
|
|
"Github,https://github.com/jolheiser"
|
|
"Gitea,https://gitea.com/jolheiser"
|
|
"JoJoDev,https://git.jojodev.com/jolheiser"
|
|
"Fediverse,https://social.jolheiser.com/@jolheiser"
|
|
];
|
|
};
|
|
tailscale = {
|
|
enable = true;
|
|
hostname = "git";
|
|
};
|
|
};
|
|
};
|
|
}
|