2024-11-17 05:16:16 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
2025-01-14 05:05:10 +00:00
|
|
|
}: let
|
2024-11-17 06:34:40 +00:00
|
|
|
cfg = config.marleyos.programs.zoxide;
|
2025-01-14 05:05:10 +00:00
|
|
|
in {
|
|
|
|
options.marleyos.programs.zoxide.enable = lib.mkEnableOption "zoxide";
|
2024-11-17 05:16:16 +00:00
|
|
|
|
2025-01-14 05:05:10 +00:00
|
|
|
config = lib.mkIf cfg.enable {
|
2024-11-17 05:16:16 +00:00
|
|
|
programs.zoxide = {
|
|
|
|
enable = true;
|
|
|
|
|
2025-01-14 05:05:10 +00:00
|
|
|
options = ["--cmd cd"];
|
2024-11-17 05:16:16 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|