tangled
alpha
login
or
join now
kitten.sh
/
system
0
fork
atom
Personal Nix setup
0
fork
atom
overview
issues
pulls
pipelines
Add global excludes file for ripgrep
kitten.sh
5 months ago
9172101e
facba952
+17
1 changed file
expand all
collapse all
unified
split
home
base
tools.nix
+17
home/base/tools.nix
reviewed
···
1
1
{ lib, pkgs, ... }:
2
2
3
3
with lib;
4
4
+
let
5
5
+
rgExcludesFile = pkgs.writeTextFile {
6
6
+
name = ".rgignore";
7
7
+
text = ''
8
8
+
*~
9
9
+
*.map
10
10
+
'';
11
11
+
};
12
12
+
in
4
13
{
5
14
home = {
6
15
packages = with pkgs; [
···
13
22
shellAliases = {
14
23
http = "xh";
15
24
};
25
25
+
};
26
26
+
27
27
+
programs.ripgrep = {
28
28
+
enable = true;
29
29
+
arguments = [
30
30
+
"--ignore-file=${rgExcludesFile}"
31
31
+
"--smart-case"
32
32
+
];
16
33
};
17
34
}