marleyos/modules/home/programs/zoxide/default.nix

23 lines
332 B
Nix

{
lib,
config,
namespace,
...
}:
let
inherit (lib) mkIf;
inherit (lib.marleyos) mkEnableModule;
cfg = config.marleyos.programs.zoxide;
in
{
options.marleyos = mkEnableModule "programs.zoxide";
config = mkIf cfg.enable {
programs.zoxide = {
enable = true;
options = [ "--cmd cd" ];
};
};
}