mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-09 09:43:53 +00:00
18 lines
349 B
Nix
18 lines
349 B
Nix
{ lib, config, True, ... }:
|
|
|
|
with lib;
|
|
|
|
let cfg = config.module.programs.cli.zoxide;
|
|
in {
|
|
options = { module.programs.cli.zoxide = { enable = mkEnableOption ""; }; };
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.zoxide = True // {
|
|
enableFishIntegration = true;
|
|
enableZshIntegration = true;
|
|
options = [ "--cmd cd" ];
|
|
};
|
|
};
|
|
}
|
|
|