refactor: move some other stuff into common bash

This commit is contained in:
matt1432 2023-10-15 15:11:59 -04:00
parent 2da47844ad
commit 9d00443094
4 changed files with 254 additions and 253 deletions

View file

@ -1,9 +1,16 @@
# Home-manager module # Home-manager module
{ lib, ... }: { lib, ... }: {
programs = {
{ fzf = {
programs.starship = let enable = true;
enableBashIntegration = true;
};
jq.enable = true;
ripgrep.enable = true;
starship = let
textColor = "#e3e5e5"; textColor = "#e3e5e5";
firstColor = "#bd93f9"; firstColor = "#bd93f9";
secondColor = "#715895"; secondColor = "#715895";
@ -87,7 +94,7 @@
}; };
}; };
programs.bash = { bash = {
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;
@ -159,4 +166,5 @@
#logoutExtra = '' #logoutExtra = ''
#''; #'';
}; };
};
} }

View file

@ -18,7 +18,14 @@ in
''; '';
}; };
programs.neovim = { programs = {
java = {
enable = true;
package = pkgs.temurin-bin-17;
};
neovim = {
enable = true; enable = true;
viAlias = true; viAlias = true;
vimAlias = true; vimAlias = true;
@ -115,4 +122,5 @@ in
todo-comments-nvim todo-comments-nvim
]; ];
}; };
};
} }

View file

@ -30,10 +30,6 @@ in
}; };
programs = { programs = {
fzf = {
enable = true;
enableBashIntegration = true;
};
wofi = { wofi = {
enable = true; enable = true;

View file

@ -12,17 +12,6 @@ in
}; };
btop.enable = true; btop.enable = true;
jq.enable = true;
ripgrep = {
enable = true;
};
java = {
enable = true;
package = pkgs.temurin-bin-17;
};
}; };
home.packages = [ home.packages = [