mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
32 lines
666 B
Nix
32 lines
666 B
Nix
{ lib, config, ... }:
|
|
|
|
with lib;
|
|
let
|
|
cfg = config.modules.user.bash;
|
|
|
|
in
|
|
{ options.modules.user.bash = { enable = mkEnableOption "user.bash"; };
|
|
config = mkIf cfg.enable {
|
|
programs.bash = {
|
|
enable = true;
|
|
initExtra = "source ~/.config/bash/bashrc";
|
|
};
|
|
|
|
home.file.".config/bash" = {
|
|
source = ./bash;
|
|
recursive = true;
|
|
};
|
|
|
|
programs = {
|
|
ripgrep.enable = true;
|
|
eza = {
|
|
enable = true;
|
|
enableBashIntegration = true;
|
|
enableFishIntegration = false;
|
|
enableZshIntegration = false;
|
|
enableNushellIntegration = false;
|
|
enableIonIntegration = false;
|
|
};
|
|
};
|
|
};
|
|
}
|