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

17 lines
275 B
Nix

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