use git credential manager
This commit is contained in:
parent
d669e56616
commit
0f7054dda6
1 changed files with 5 additions and 0 deletions
|
|
@ -24,6 +24,10 @@ in
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = [
|
||||
pkgs.git-credential-manager
|
||||
];
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = cfg.name;
|
||||
|
|
@ -37,6 +41,7 @@ in
|
|||
commit.gpgsign = cfg.do_sign;
|
||||
push.autoSetupRemote = true;
|
||||
credential.helper = "store";
|
||||
credential.credentialStore = "secretservice";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue