heather/server: git credential.helper=store for https forgejo auth
Токены для https://git.iscg.dev хранятся в ~/.git-credentials (plaintext, chmod 600, вне git/nix). Нужен для clone приватных репо (memory, pass) с heather, где ssh deploy key только на nix-config.
This commit is contained in:
parent
87faa84104
commit
9d1f451d5f
1 changed files with 5 additions and 0 deletions
|
|
@ -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/<repo> (ssh deploy key только на
|
||||
# nix-config; для memory/pass/etc используем https + token).
|
||||
credential.helper = "store";
|
||||
};
|
||||
};
|
||||
programs.delta = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue