diff --git a/users/jeirmeister/programs/git.nix b/users/jeirmeister/programs/git.nix index ff88375..7e6ad4b 100644 --- a/users/jeirmeister/programs/git.nix +++ b/users/jeirmeister/programs/git.nix @@ -3,6 +3,7 @@ { programs.git = { enable = true; + package = pkgs.git; # Explicitly specify git package lfs.enable = true; userName = "jeirmeister"; userEmail = "jeir@jeirslab.xyz"; @@ -11,21 +12,15 @@ init.defaultBranch = "main"; pull.rebase = false; - # Configure credential helper + # More explicit credential configuration 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 = "*"; }; - - ignores = [ - ".DS_Store" - "*.swp" - ".vscode/" - ".idea/" - ]; }; # Ensure required packages are installed @@ -33,6 +28,5 @@ git-credential-manager ]; - # Enable XDG directories xdg.enable = true; } \ No newline at end of file