mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 04:08:12 +09:00
21 lines
375 B
Nix
21 lines
375 B
Nix
{ lib, config, ... }:
|
|
let
|
|
cfg = config.my.applications.zoxide;
|
|
in
|
|
{
|
|
options.my.applications.zoxide = {
|
|
enable = lib.mkEnableOption "zoxide smarter cd command";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
home-manager.sharedModules = [
|
|
{
|
|
programs.zoxide = {
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
};
|
|
}
|
|
];
|
|
};
|
|
}
|