Watch
0
1
Fork
You've already forked nixos-configuration
0
nixos-configuration/homeConfigurations/muede/git.nix
müde 26362f211e
Some checks are pending
build / build (muede-lpt2) (push) Waiting to run
build / build (muede-pc2) (push) Waiting to run
build / close-on-failure (push) Blocked by required conditions
gitignore .claude
2026-09-28 20:58:10 +02:00

36 lines
711 B
Nix

{
programs = {
git = {
enable = true;
settings = {
user = {
name = "müde";
email = "git@darkest.space";
};
aliases = {
prettylog = "log --pretty=oneline --graph";
spring-clean = "!git branch --merged | xargs -n 1 -r git branch -d";
};
pull.ff = "only";
merge.tool = "kdiff3";
push.autoSetupRemote = "true";
credential.credentialStore = "cache";
};
ignores = [
".direnv"
".idea"
".envrc"
".claude"
];
};
git-credential-oauth.enable = true;
gh = {
enable = true;
gitCredentialHelper.enable = true;
};
};
}