mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-30 01:39:18 -05:00
Aly Raffauf
deb36b44e1
Some checks are pending
flakehub / flakehub-publish (push) Waiting to run
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
* remove unused variables and nesting issues * more code cleanups and build fixes * cleanup sway * base/plymouth: removed unnecessary font override * hosts/common: remove unnecessary host checks
55 lines
1.1 KiB
Nix
55 lines
1.1 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.ar.home.apps.bash.enable {
|
|
home.shellAliases = {
|
|
cat = lib.getExe pkgs.bat;
|
|
grep = lib.getExe config.programs.ripgrep.package;
|
|
};
|
|
|
|
programs = {
|
|
bash = {
|
|
enable = true;
|
|
enableCompletion = true;
|
|
enableVteIntegration = true;
|
|
|
|
shellOptions = [
|
|
"autocd"
|
|
"cdspell"
|
|
"checkjobs"
|
|
"checkwinsize"
|
|
"dirspell"
|
|
"dotglob"
|
|
"extglob"
|
|
"globstar"
|
|
"histappend"
|
|
];
|
|
|
|
initExtra = ''
|
|
export PS1="[\[$(tput setaf 27)\]\u\[$(tput setaf 135)\]@\[$(tput setaf 45)\]\h:\[$(tput setaf 33)\]\w] \[$(tput sgr0)\]$ "
|
|
'';
|
|
};
|
|
|
|
eza = {
|
|
enable = true;
|
|
extraOptions = ["--group-directories-first" "--header"];
|
|
git = true;
|
|
icons = true;
|
|
};
|
|
|
|
fzf = {
|
|
enable = true;
|
|
tmux.enableShellIntegration = true;
|
|
};
|
|
|
|
ripgrep = {
|
|
enable = true;
|
|
arguments = ["--pretty"];
|
|
};
|
|
};
|
|
};
|
|
}
|