Menno van Leeuwen 2ce4cfb608
Some checks failed
Nix Format Check / check-format (push) Failing after 40s
refactor: update dotfiles paths and remove obsolete configurations
2025-03-05 17:26:48 +01:00

34 lines
753 B
Nix

{ config, pkgs, ... }:
let
dotfilesPath = builtins.getEnv "DOTFILES_PATH";
in
{
home.file.".bashrc.extra".source = "${dotfilesPath}/.bashrc";
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'"
];
};
}