Split git libsecret into separate module
This commit is contained in:
parent
4baf0f215c
commit
db0f7449d7
@ -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
|
||||
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
10
nixpkgs/modules/git_nixos.nix
Normal file
10
nixpkgs/modules/git_nixos.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user