holy cow methinks it works
This commit is contained in:
parent
e88a2b66dc
commit
abeb353852
@ -3,6 +3,7 @@
|
|||||||
{
|
{
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.git; # Explicitly specify git package
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
userName = "jeirmeister";
|
userName = "jeirmeister";
|
||||||
userEmail = "jeir@jeirslab.xyz";
|
userEmail = "jeir@jeirslab.xyz";
|
||||||
@ -11,21 +12,15 @@
|
|||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
pull.rebase = false;
|
pull.rebase = false;
|
||||||
|
|
||||||
# Configure credential helper
|
# More explicit credential configuration
|
||||||
credential = {
|
credential = {
|
||||||
helper = "${pkgs.git-credential-manager}/bin/git-credential-manager";
|
helper = lib.mkForce "${pkgs.git-credential-manager}/bin/git-credential-manager";
|
||||||
|
credentialStore = "plaintext";
|
||||||
|
interactive = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Add additional required configurations
|
|
||||||
safe.directory = "*";
|
safe.directory = "*";
|
||||||
};
|
};
|
||||||
|
|
||||||
ignores = [
|
|
||||||
".DS_Store"
|
|
||||||
"*.swp"
|
|
||||||
".vscode/"
|
|
||||||
".idea/"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Ensure required packages are installed
|
# Ensure required packages are installed
|
||||||
@ -33,6 +28,5 @@
|
|||||||
git-credential-manager
|
git-credential-manager
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable XDG directories
|
|
||||||
xdg.enable = true;
|
xdg.enable = true;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user