Use libsecret instead of git-credential-store
This commit is contained in:
parent
d3c55cc9f8
commit
2aba7ac0e0
|
@ -1,10 +1,10 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ../git ];
|
||||
programs.emacs.enable = true;
|
||||
home.packages = with pkgs; [
|
||||
# Emacs dependencies
|
||||
git
|
||||
ripgrep
|
||||
coreutils
|
||||
cmake
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
{ lib, tokyonight, ... }: {
|
||||
xdg.configFile."git/tokyonight_night.gitconfig".source = "${tokyonight}/extras/delta/tokyonight_night.gitconfig";
|
||||
{ lib, pkgs, tokyonight, ... }: {
|
||||
xdg.configFile."git/tokyonight_night.gitconfig".source =
|
||||
"${tokyonight}/extras/delta/tokyonight_night.gitconfig";
|
||||
programs.git = {
|
||||
enable = true;
|
||||
package = pkgs.gitFull;
|
||||
userName = "Evie Litherland-Smith";
|
||||
userEmail = lib.mkDefault "evie@xenia.me.uk";
|
||||
includes = [{ path = "tokyonight_night.gitconfig"; }];
|
||||
|
@ -19,7 +21,7 @@
|
|||
extraConfig = {
|
||||
pull.rebase = false;
|
||||
init.defaultBranch = "main";
|
||||
credential.helper = "store";
|
||||
credential.helper = "${pkgs.gitFull}/bin/git-credential-libsecret";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue