Split git libsecret into separate module

This commit is contained in:
Michael Thomas 2021-02-19 21:22:42 -05:00
parent 4baf0f215c
commit db0f7449d7
3 changed files with 11 additions and 4 deletions

View File

@ -5,6 +5,7 @@
../../modules/home-manager.nix
../../modules/fonts.nix
../../modules/git.nix
../../modules/git_nixos.nix
../../modules/gnome.nix
../../modules/vscode.nix
../../modules/zsh.nix

View File

@ -7,11 +7,7 @@
# Use pkgs.gitAndTools.gitFull in order to get libsecret support
programs.git = {
enable = true;
package = pkgs.gitAndTools.gitFull;
userEmail = "michaelhthomas@outlook.com";
userName = "Michael Thomas";
extraConfig = {
credential.helper = "libsecret";
};
};
}

View File

@ -0,0 +1,10 @@
{ config, pkgs, libs, ... }:
{
# Use pkgs.gitAndTools.gitFull in order to get libsecret support
programs.git = {
package = pkgs.gitAndTools.gitFull;
extraConfig = {
credential.helper = "libsecret";
};
};
}