This commit is contained in:
2026-07-14 23:47:12 +00:00
parent 8f2e965245
commit e1ba2af070
2 changed files with 25 additions and 1 deletions
+2 -1
View File
@@ -11,7 +11,6 @@ let
in
{
imports = [
# Shared home-manager modules
../../modules/home-manager/oh-my-posh
../../modules/home-manager/zshrc
../../modules/home-manager/bat
@@ -20,6 +19,7 @@ in
../../modules/home-manager/pi
../../modules/home-manager/tmux
../../modules/home-manager/eza
../../modules/home-manager/zoxide
];
home = {
@@ -44,6 +44,7 @@ in
nvim.enable = true;
eza.enable = true;
bat.enable = true;
zoxide.enable = true;
};
home.packages = with pkgs; [
+23
View File
@@ -0,0 +1,23 @@
{ lib
, config
, pkgs
, ...
}:
{
options.custom = {
zoxide.enable = lib.mkEnableOption "enable zoxide - a modern replacement for cd";
};
config = lib.mkIf config.custom.zoxide.enable {
programs.zoxide = {
enable = true;
enableZshIntegration = true;
options = [
"--cmd"
"cd"
];
};
};
}