2SNUQGBMWREC2GNQV5CUFNCVCS3EYF7EIKEJ6S3WQMVQ63LVOA3QC
V2RX2Y7VB7Y3BHX3ALK4GTCMFJATMLCKIAT4U3XCYZZZIUBIIZ5QC
MQT74AV47PUYNCX27OMFK6BFN7PP4DX46JAACN2EPRYXUXV7EL3AC
{ lib, ... }:
{ config, lib, ... }:
# TODO # core.editor = config.environment.variables.EDITOR;
# TODO
# core.editor = config.environment.variables.EDITOR;
core.editor = "${config.environment.sessionVariables.EDITOR}";
# TODO: Check how to use many. This doesn't work. credential.helper = # .gitconfig '' "!gh auth git-credential" "cache --timeout 21600" # 6 hours "oauth" "oauth -device" '';
# TODO: Check how to use many. This doesn't work.
credential.helper = # .gitconfig
''
"!gh auth git-credential"
"cache --timeout 21600" # 6 hours
"oauth"
"oauth -device"
'';
include.path = "credentials";
xdg.config.files."git/credentials".text = # ini '' [credential] helper=!gh auth git-credential helper=cache --timeout 21600 # 6 hours helper=oauth helper=oauth -device '';
xdg.config.files."git/credentials".text = # ini
[credential]
helper=!gh auth git-credential
helper=cache --timeout 21600 # 6 hours
helper=oauth
helper=oauth -device