From f2960ba2306f1288c46caf3894ba14dd8aa89323 Mon Sep 17 00:00:00 2001 From: Chris Wong Date: Tue, 6 Oct 2026 19:42:39 +0100 Subject: [PATCH] refactor(common): move package search into shared base - Install nix-search-cli through common.nix - Remove its development module entry and update documentation --- README.md | 2 +- modules/common.nix | 2 ++ modules/development.nix | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 39c90c1..81dadcf 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ language runtimes or Kubernetes/Terraform tooling. Android Studio remains on the ThinkPads as an existing IDE/workflow choice, but its bundled SDK is worth reviewing if moving fully to project-local tooling. -For fast package discovery, the shared tools include `nix-search-cli`: +For fast package discovery, `common.nix` installs `nix-search-cli` on every host: ```sh nix-search --channel=26.05 blender diff --git a/modules/common.nix b/modules/common.nix index 127a1ec..4fae82d 100644 --- a/modules/common.nix +++ b/modules/common.nix @@ -12,6 +12,8 @@ }; nixpkgs.config.allowUnfree = true; + environment.systemPackages = [ pkgs.nix-search-cli ]; + networking.networkmanager.enable = true; time.timeZone = "Africa/Tunis"; i18n.defaultLocale = "en_US.UTF-8"; diff --git a/modules/development.nix b/modules/development.nix index 114e38f..98fd045 100644 --- a/modules/development.nix +++ b/modules/development.nix @@ -10,7 +10,6 @@ tmux ripgrep fd - nix-search-cli duf dust killall