mirror of
https://github.com/Noratrieb/nixos.git
synced 2026-01-14 11:45:06 +01:00
cleanup
This commit is contained in:
parent
bc6f9e293f
commit
6ab5c496f3
5 changed files with 114 additions and 141 deletions
|
|
@ -1,23 +1,25 @@
|
|||
{ 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 = {
|
||||
{ pkgs, ... }: {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
};
|
||||
extraConfig = {
|
||||
core.autocrlf = false;
|
||||
core.editor = "nvim";
|
||||
pull.ff = "only";
|
||||
push.autoSetupRemote = true;
|
||||
init.defaultBranch = "main";
|
||||
|
||||
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";
|
||||
push.autoSetupRemote = true;
|
||||
init.defaultBranch = "main";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue