From 9d1f451d5f33679cd104327b977c030906456960 Mon Sep 17 00:00:00 2001 From: mikl Date: Mon, 13 Jul 2026 15:18:38 +0300 Subject: [PATCH] heather/server: git credential.helper=store for https forgejo auth MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Токены для https://git.iscg.dev хранятся в ~/.git-credentials (plaintext, chmod 600, вне git/nix). Нужен для clone приватных репо (memory, pass) с heather, где ssh deploy key только на nix-config. --- home/server.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/server.nix b/home/server.nix index f385277..245efa2 100644 --- a/home/server.nix +++ b/home/server.nix @@ -78,6 +78,11 @@ init.defaultBranch = "main"; pull.rebase = true; push.autoSetupRemote = true; + # credential helper: токены для forgejo хранятся в ~/.git-credentials + # (plaintext, chmod 600, ВНЕ git/nix — см. infra notes). Нужен для + # git clone https://git.iscg.dev/mikl/ (ssh deploy key только на + # nix-config; для memory/pass/etc используем https + token). + credential.helper = "store"; }; }; programs.delta = {