Cleanup home manager

This commit is contained in:
nora 2023-08-28 20:29:25 +02:00
parent a87ec6f1d2
commit 12eb0b02bf
4 changed files with 135 additions and 135 deletions

22
home-manager/git.nix Normal file
View file

@ -0,0 +1,22 @@
{ pkgs }: {
enable = true;
userEmail = "48135649+Nilstrieb@users.noreply.github.com";
userName = "Nilstrieb";
aliases = {
hardupdate = "!git fetch && git reset --hard \"origin/$(git rev-parse --abbrev-ref HEAD)\"";
fpush = "push --force-with-lease";
resq = "rebase --autosquash -i";
pfush = "!echo \"hör uf ume z'pfusche und machs richtig\"";
};
difftastic = {
enable = true;
};
extraConfig = {
core.autocrlf = false;
core.editor = "nvim";
pull.ff = "only";
init.defaultBranch = "main";
};
}