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