added stuff
This commit is contained in:
parent
e8d9044d2b
commit
9d0ebdfbd0
907 changed files with 70990 additions and 0 deletions
53
nyx/homes/notashelf/programs/terminal/tools/git/ignore.nix
Normal file
53
nyx/homes/notashelf/programs/terminal/tools/git/ignore.nix
Normal file
|
@ -0,0 +1,53 @@
|
|||
{lib, ...}: let
|
||||
general = ''
|
||||
.cache/
|
||||
tmp/
|
||||
*.tmp
|
||||
log/
|
||||
'';
|
||||
|
||||
ide = ''
|
||||
*.swp
|
||||
.idea/
|
||||
.~lock*
|
||||
'';
|
||||
|
||||
c = ''
|
||||
.tags
|
||||
tags
|
||||
*~
|
||||
*.o
|
||||
*.so
|
||||
*.cmake
|
||||
CMakeCache.txt
|
||||
CMakeFiles/
|
||||
cmake-build-debug/
|
||||
compile_commands.json
|
||||
.ccls*
|
||||
'';
|
||||
|
||||
nix = ''
|
||||
result
|
||||
result-*
|
||||
.direnv/
|
||||
'';
|
||||
|
||||
node = ''
|
||||
node_modules/
|
||||
'';
|
||||
|
||||
python = ''
|
||||
venv
|
||||
.venv
|
||||
*pyc
|
||||
*.egg-info/
|
||||
__pycached__/
|
||||
.mypy_cache
|
||||
'';
|
||||
|
||||
ignore = lib.concatStringsSep "\n" [general c nix node ide python];
|
||||
in {
|
||||
# construct the list of ignored files from a very large string containing
|
||||
# the list of ignored files, but in a plaintext format for my own convenience
|
||||
programs.git.ignores = map (v: "${toString v}") (builtins.split "\n" ignore);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue