mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 01:18:30 +09:00
feat
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
./wayland.nix
|
||||
./zellij
|
||||
./zoom.nix
|
||||
./zoxide.nix
|
||||
./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 {
|
||||
my.applications.zsh.enable = true;
|
||||
my.applications = {
|
||||
zsh.enable = true;
|
||||
zoxide.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user