diff options
| author | 2026-05-22 10:41:23 +0100 | |
|---|---|---|
| committer | 2026-05-22 10:41:23 +0100 | |
| commit | 668b9846a6eccb16a619f57d305f1bd6bdaeb7bc (patch) | |
| tree | 3f3d8dcbc082302c5cc539b08d310133e7a3c20f /nix/flake.nix | |
| parent | 0c292694f37f107629b5287f96ebb945ff764b68 (diff) | |
| download | dotfiles-668b9846a6eccb16a619f57d305f1bd6bdaeb7bc.tar.gz dotfiles-668b9846a6eccb16a619f57d305f1bd6bdaeb7bc.tar.bz2 dotfiles-668b9846a6eccb16a619f57d305f1bd6bdaeb7bc.zip | |
feat(nix): add tuicr from upstream flake to common profile
tuicr (TUI git-change reviewer) isn't packaged in nixpkgs, so pull it
as a flake input with an overlay exposing pkgs.tuicr. The companion
claude-code skill lives in dot_claude/skills/tuicr/ (separate commit).
Diffstat (limited to 'nix/flake.nix')
| -rw-r--r-- | nix/flake.nix | 15 |
1 files changed, 14 insertions, 1 deletions
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 |
