mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 08:28:11 +09:00
feat
This commit is contained in:
@@ -33,6 +33,7 @@
|
|||||||
./wayland.nix
|
./wayland.nix
|
||||||
./zellij
|
./zellij
|
||||||
./zoom.nix
|
./zoom.nix
|
||||||
|
./zoxide.nix
|
||||||
./zsh
|
./zsh
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
{ lib, config, ... }:
|
||||||
|
let
|
||||||
|
cfg = config.my.applications.zoxide;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.my.applications.zoxide = {
|
||||||
|
enable = lib.mkEnableOption "zoxide smarter cd command";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
home-manager.sharedModules = [
|
||||||
|
{
|
||||||
|
programs.zoxide = {
|
||||||
|
enable = true;
|
||||||
|
enableZshIntegration = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -8,6 +8,9 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
my.applications.zsh.enable = true;
|
my.applications = {
|
||||||
|
zsh.enable = true;
|
||||||
|
zoxide.enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user