This commit is contained in:
Bryan Ramos 2023-06-06 02:28:37 -04:00
parent cc18493707
commit 6fff6d1845
673 changed files with 1070 additions and 124971 deletions

View file

@ -0,0 +1,30 @@
{ lib, config, ... }:
with lib;
let
cfg = config.modules.bash;
in
{ options.modules.bash = { enable = mkEnableOption "bash"; };
config = mkIf cfg.enable {
programs.bash = {
enable = true;
enableCompletion = true;
initExtra = import ./config/prompt.nix;
profileExtra = import ./config/bashprofile.nix;
bashrcExtra = import ./bashrc.nix;
shellAliases = import ./alias.nix;
};
services.gpg-agent.enableBashIntegration = true;
programs = {
direnv.nix-direnv.enable = true;
ripgrep.enable = true;
lsd = {
enable = true;
enableAliases = true;
};
};
};
}