Initial commit
This commit is contained in:
32
modules/development/home/git.nix
Normal file
32
modules/development/home/git.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
git-credential-manager
|
||||
];
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
package = pkgs.gitMinimal;
|
||||
lfs.enable = true;
|
||||
userName = "Ghostfox";
|
||||
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
|
||||
credential = {
|
||||
helper = "manager";
|
||||
credentialStore = "secretservice";
|
||||
|
||||
"https://github.com" = {
|
||||
username = "kpghostfox";
|
||||
email = "kpghostfox@int.pl";
|
||||
};
|
||||
|
||||
"https://hazzy.nonamesoft.xyz" = {
|
||||
username = "ghostfox";
|
||||
email = "ghostfox@laminax.local";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user