Manage ripgrep with Home Manager
This commit is contained in:
parent
8deb363f76
commit
5e6bee6432
|
@ -35,6 +35,5 @@ in
|
||||||
LC_CTYPE = "en_GB.UTF-8";
|
LC_CTYPE = "en_GB.UTF-8";
|
||||||
PATH = "$PATH:./vendor/bin:./node_modules/.bin";
|
PATH = "$PATH:./vendor/bin:./node_modules/.bin";
|
||||||
PULUMI_SKIP_UPDATE_CHECK = "true";
|
PULUMI_SKIP_UPDATE_CHECK = "true";
|
||||||
RIPGREP_CONFIG_PATH = "$HOME/.config/ripgrep/config";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,7 +27,6 @@ with pkgs; [
|
||||||
neofetch
|
neofetch
|
||||||
pkgsUnstable.rustywind
|
pkgsUnstable.rustywind
|
||||||
pv
|
pv
|
||||||
ripgrep
|
|
||||||
tldr
|
tldr
|
||||||
tree
|
tree
|
||||||
tree-sitter
|
tree-sitter
|
||||||
|
|
|
@ -38,10 +38,15 @@
|
||||||
|
|
||||||
home.sessionPath = [ "$HOME/.config/bin" ];
|
home.sessionPath = [ "$HOME/.config/bin" ];
|
||||||
|
|
||||||
xdg.configFile."ripgrep/config".text = ''
|
programs.ripgrep = {
|
||||||
--follow
|
enable = true;
|
||||||
--smart-case
|
|
||||||
'';
|
arguments = [
|
||||||
|
"--follow"
|
||||||
|
"--hidden"
|
||||||
|
"--smart-case"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
xdg.configFile.bin = {
|
xdg.configFile.bin = {
|
||||||
source = ../../bin;
|
source = ../../bin;
|
||||||
|
|
|
@ -18,7 +18,6 @@ inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
EXA_COLORS = "uu=38;5;255:gu=38;5;255:ur=38;5;255:uw=38;5;255:ue=38;5;255:wx=38;5;255:gr=38;5;250:gw=38;5;250:gx=38;5;250:tr=38;5;255:tw=38;5;255:tx=38;5;255:da=38;5;250:sn=32:sb=0:di=38;5;105";
|
EXA_COLORS = "uu=38;5;255:gu=38;5;255:ur=38;5;255:uw=38;5;255:ue=38;5;255:wx=38;5;255:gr=38;5;250:gw=38;5;250:gx=38;5;250:tr=38;5;255:tw=38;5;255:tx=38;5;255:da=38;5;250:sn=32:sb=0:di=38;5;105";
|
||||||
PATH = "$PATH:./vendor/bin:./node_modules/.bin";
|
PATH = "$PATH:./vendor/bin:./node_modules/.bin";
|
||||||
PULUMI_SKIP_UPDATE_CHECK = "true";
|
PULUMI_SKIP_UPDATE_CHECK = "true";
|
||||||
RIPGREP_CONFIG_PATH = "$HOME/.config/ripgrep/config";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue