diff options
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 |
