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

24 lines
331 B
Nix
Raw Normal View History

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