Add zoxide and add zoxide support in lf
This commit is contained in:
parent
42a5498417
commit
6d463dc0c5
4 changed files with 33 additions and 4 deletions
16
hmModules/apps/zoxide/default.nix
Normal file
16
hmModules/apps/zoxide/default.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
options.zoxide = {
|
||||
enable = lib.mkEnableOption "Enables Zoxide";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.zoxide.enable {
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
options = [
|
||||
"--cmd cd"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue