parent
8adc0cc435
commit
ec0576965f
2 changed files with 13 additions and 8 deletions
|
@ -9,12 +9,22 @@
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
bash.sessionVariables = {
|
bash = {
|
||||||
# FIXME: why is this not set by home-manager?
|
sessionVariables = {
|
||||||
RIPGREP_CONFIG_PATH = "${config.xdg.configHome}/ripgrep/ripgreprc";
|
inherit (config.home.sessionVariables) RIPGREP_CONFIG_PATH;
|
||||||
|
};
|
||||||
|
|
||||||
|
shellAliases = {
|
||||||
|
rg = "rga";
|
||||||
|
cat = "bat ";
|
||||||
|
man = "BAT_THEME='default' batman ";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
ripgrep = {
|
ripgrep = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.ripgrep-all;
|
||||||
|
|
||||||
arguments = [
|
arguments = [
|
||||||
"--max-columns=150"
|
"--max-columns=150"
|
||||||
"--max-columns-preview"
|
"--max-columns-preview"
|
||||||
|
@ -29,10 +39,6 @@
|
||||||
jq.enable = true;
|
jq.enable = true;
|
||||||
htop.enable = true;
|
htop.enable = true;
|
||||||
|
|
||||||
bash.shellAliases = {
|
|
||||||
cat = "bat ";
|
|
||||||
man = "BAT_THEME='default' batman ";
|
|
||||||
};
|
|
||||||
bat = {
|
bat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config = {
|
config = {
|
||||||
|
|
|
@ -296,7 +296,6 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
# FIXME: these prevent from using nixos-install
|
|
||||||
nh = {
|
nh = {
|
||||||
type = "github";
|
type = "github";
|
||||||
owner = "viperML";
|
owner = "viperML";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue