mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 21:01:34 +01:00
24 lines
498 B
Nix
24 lines
498 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: {
|
|
options.myConfig.shell.enhancement.enable = lib.mkEnableOption "";
|
|
|
|
config = lib.mkIf config.myConfig.shell.enhancement.enable {
|
|
programs.lsd = {
|
|
enable = true;
|
|
enableAliases = true;
|
|
};
|
|
|
|
programs.bat.enable = true;
|
|
home.shellAliases.cat = "bat -p";
|
|
|
|
programs.fzf.enable = true;
|
|
|
|
programs.zoxide = {
|
|
enable = true;
|
|
options = ["--cmd cd"];
|
|
};
|
|
};
|
|
}
|