diff options
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/common.nix | 1 | ||||
| -rw-r--r-- | nix/flake.nix | 15 |
2 files changed, 15 insertions, 1 deletions
diff --git a/nix/common.nix b/nix/common.nix index 3283e2c..ba3a5e3 100644 --- a/nix/common.nix +++ b/nix/common.nix @@ -130,6 +130,7 @@ claude-code codex # OpenAI Codex CLI (rust rewrite); replaces pacman openai-codex-bin github-copilot-cli # `copilot`; prebuilt-binary derivation since 1.0.43 + tuicr # interactive git-change reviewer; flake input, see nix/flake.nix. Skill: dot_claude/skills/tuicr/ # ── LSPs / formatters / linters / DAPs ───────────────────────────────── # Replaces Mason entirely (phase p6 of the nix migration rips out diff --git a/nix/flake.nix b/nix/flake.nix index 8896f2f..9e26edb 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -7,13 +7,26 @@ url = "github:nix-community/home-manager/master"; inputs.nixpkgs.follows = "nixpkgs"; }; + # tuicr: TUI git-change reviewer. Upstream flake exposes + # `packages.<system>.default`. Pulled here instead of nixpkgs because + # it's not packaged there. The skill files under + # `dot_claude/skills/tuicr/` rely on the `tuicr` binary being on PATH. + tuicr = { + url = "github:agavra/tuicr"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; - outputs = { self, nixpkgs, home-manager, ... }: + outputs = { self, nixpkgs, home-manager, tuicr, ... }: let system = "x86_64-linux"; pkgs = import nixpkgs { inherit system; + overlays = [ + # Expose `pkgs.tuicr` so common.nix can list it next to other + # packages without threading inputs into every module. + (final: prev: { tuicr = tuicr.packages.${system}.default; }) + ]; # Whitelist specific unfree packages (claude-code, # github-copilot-cli) instead of globally setting allowUnfree, # so a typo elsewhere can't silently pull in additional unfree |
