Migrate git config

This commit is contained in:
2023-01-03 00:02:40 +00:00
parent 447503fadf
commit ed7acab5a8
4 changed files with 5 additions and 19 deletions

View File

@ -7,7 +7,7 @@
./editors/vscode.nix
./security/gpg.nix
./security/pass.nix
./shell/git.nix
./shell/git
./shell/zsh
];
}

View File

@ -30,5 +30,9 @@ in {
pull.rebase = true;
};
};
home.configFile = {
"git/ignore".source = ./ignore;
};
};
}

24
modules/shell/git/ignore Normal file
View File

@ -0,0 +1,24 @@
# CMake
cmake-build-*/
# Linux trash folder
.Trash-*
# Swap
[._]*.s[a-v][a-z]
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]
# Session
Session.vim
Sessionx.vim
# Temporary
.netrwhist
*~
# Auto-generated tag files
tags
# Persistent undo
[._]*.un~