From 7fd110798b40b2103e5ba866ccf374697e1de189 Mon Sep 17 00:00:00 2001 From: Gerg-L Date: Sat, 24 May 2025 23:45:03 -0400 Subject: [PATCH] refactor: move zoxide to shared module --- nixosConfigurations/gerg-desktop/main.nix | 6 ------ nixosModules/shell.nix | 2 ++ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/nixosConfigurations/gerg-desktop/main.nix b/nixosConfigurations/gerg-desktop/main.nix index 2935475..fda29c5 100644 --- a/nixosConfigurations/gerg-desktop/main.nix +++ b/nixosConfigurations/gerg-desktop/main.nix @@ -130,12 +130,6 @@ silent = true; }; - zoxide.enable = true; - - zsh = { - shellAliases.cd = "z"; - }; - nix-index = { enable = true; package = nix-index-database.packages.nix-index-with-db; diff --git a/nixosModules/shell.nix b/nixosModules/shell.nix index 009d25e..318c0d7 100644 --- a/nixosModules/shell.nix +++ b/nixosModules/shell.nix @@ -32,10 +32,12 @@ lx = "eza -lbhHigUmuSa@ --time-style=long-iso --git --color-scale"; lS = "eza -1"; lt = "eza --tree --level=2"; + cd = "z"; }; interactiveShellInit = "fetch-rs"; }; + programs.zoxide.enable = true; programs.starship = { enable = true; settings = {