mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-22 08:04:25 +01:00
Rename shell enhancement module
This commit is contained in:
parent
3444dab7d4
commit
7481d44f0a
3 changed files with 4 additions and 4 deletions
24
modules/home/shell/enhancement.nix
Normal file
24
modules/home/shell/enhancement.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
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"];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue