Files
gooberos/modules/development/home/git.nix
2026-03-30 00:20:36 +02:00

32 lines
792 B
Nix

{ 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";
};
};
};
};
}