Menno van Leeuwen 6eac725e9d
Some checks failed
Nix Format Check / check-format (push) Failing after 38s
feat: update .bashrc and symlink configuration for improved shell functionality
2025-03-10 20:57:26 +01:00

32 lines
688 B
Nix

{ config, pkgs, ... }:
let
dotfilesPath = builtins.getEnv "DOTFILES_PATH";
in
{
programs.bash = {
enable = true;
enableCompletion = true;
initExtra = ''
if [ -f ~/.bashrc.extra ]; then
source ~/.bashrc.extra
fi
'';
};
programs.fzf = {
enable = true;
enableBashIntegration = true;
defaultCommand = "fd --type f";
defaultOptions = [
"--height 40%"
"--layout=reverse"
"--border"
"--inline-info"
"--color 'fg:#ebdbb2,bg:#282828,hl:#fabd2f,fg+:#ebdbb2,bg+:#3c3836,hl+:#fabd2f'"
"--color 'info:#83a598,prompt:#bdae93,spinner:#fabd2f,pointer:#83a598,marker:#fe8019,header:#665c54'"
];
};
}