Updated git.nix to include configuration for global credential storage
This commit is contained in:
parent
d615414f29
commit
51140417d0
7
home.nix
7
home.nix
@ -50,6 +50,13 @@ in
|
||||
unzip
|
||||
p7zip
|
||||
file
|
||||
|
||||
# Documentation & reference
|
||||
tldr
|
||||
|
||||
# Productivity
|
||||
todoist
|
||||
todoist-electron
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -4,12 +4,14 @@
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
package = pkgs.git.override { withLibsecret = true; };
|
||||
lfs.enable = true;
|
||||
userName = "jeirmeister";
|
||||
userEmail = "jeir@jeirslab.xyz";
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
pull.rebase = false;
|
||||
credential.helper = "${pkgs.libsecret}/bin/git-credential-libsecret";
|
||||
};
|
||||
ignores = [
|
||||
".DS_Store"
|
||||
|
Loading…
Reference in New Issue
Block a user