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