mirror of
https://github.com/nmasur/dotfiles
synced 2025-02-07 16:52:03 +00:00
26 lines
362 B
Nix
26 lines
362 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
|
|
let
|
|
cfg = config.nmasur.presets.programs.zoxide;
|
|
in
|
|
|
|
{
|
|
|
|
options.nmasur.presets.programs.zoxide.enable = lib.mkEnableOption "zoxide smart cd replacement";
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
programs.zoxide = {
|
|
enable = true;
|
|
enableFishIntegration = true;
|
|
enableBashIntegration = true;
|
|
};
|
|
|
|
};
|
|
}
|