cli/zoxide.nix: init
This commit is contained in:
parent
d4cedfa954
commit
02583bc211
1 changed files with 24 additions and 0 deletions
24
modules/programs/cli/zoxide.nix
Normal file
24
modules/programs/cli/zoxide.nix
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (config.modules.other.system) username;
|
||||||
|
inherit (lib) mkIf;
|
||||||
|
cfg = config.modules.system.programs.eza;
|
||||||
|
in {
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
home-manager.users.${username} = {
|
||||||
|
programs.zoxide = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.zoxide;
|
||||||
|
|
||||||
|
enableNushellIntegration = true;
|
||||||
|
enableBashIntegration = true;
|
||||||
|
enableFishIntegration = true;
|
||||||
|
enableZshIntegration = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue