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

24 lines
323 B
Nix
Raw Normal View History

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