punkfairie
15372b7726
There was little point to doing this anyway as project-wide find & replace is trivial.
23 lines
323 B
Nix
23 lines
323 B
Nix
{
|
|
lib,
|
|
config,
|
|
namespace,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib) mkIf;
|
|
inherit (lib.marleyos) mkEnableModule;
|
|
|
|
cfg = config.marleyos.programs.zoxide;
|
|
in
|
|
{
|
|
options = mkEnableModule "programs.zoxide";
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.zoxide = {
|
|
enable = true;
|
|
|
|
options = [ "--cmd cd" ];
|
|
};
|
|
};
|
|
}
|