feat: load read-only GitHub credential

This commit is contained in:
kiri committed 2026-09-05 23:59:16 +02:00
1 parent af440f540d
commit 1996411136
1 file changed
+6
+6
View File
@@ -46,6 +46,12 @@ in
personal.allowedSigners ++ work.allowedSigners ++ [ "" ] personal.allowedSigners ++ work.allowedSigners ++ [ "" ]
); );
programs.zsh.initContent = ''
if [[ -r "${config.xdg.configHome}/yookr/github-read-only.token" ]]; then
export GH_TOKEN="$(< "${config.xdg.configHome}/yookr/github-read-only.token")"
fi
'';
programs.git = { programs.git = {
enable = true; enable = true;
signing.format = "ssh"; signing.format = "ssh";