diff --git a/README-nix.md b/README-nix.md deleted file mode 100644 index 7ce44362c..000000000 --- a/README-nix.md +++ /dev/null @@ -1,52 +0,0 @@ -# Nix + dream2nix setup - -This repo can build and expose all CLI tools declared in `package.json` using the exact versions from the lockfile, via [dream2nix]. - -## Prerequisites -- Nix installed (recommended: [Determinate Nix](https://determinate.systems/nix-installer/)) -- Flakes enabled (automatically enabled with Determinate Nix) - -## Typical usage - -Build the tools as a package: -```bash -nix build .#node-tools -# The result symlink contains bin/ with your CLI tools -ls -l result/bin -``` - -Open a dev shell with Node and tools on PATH: - -```bash -nix develop -# then run your tools, e.g. -tsc --version -prettier --version -eslint_d --version -``` - -Use in Home Manager (example): - -```nix -{ pkgs, ... }: -{ - home.packages = [ - (builtins.getFlake ".").packages.${builtins.currentSystem}.node-tools - ]; -} -``` - -## Notes - -* Versions are pinned by the lockfile (`bun.lockb`). -* If you change dependencies, update the lockfile, then rebuild. -* If your package has native deps, dream2nix will build them; ensure required system libs are available in nixpkgs. - -## Troubleshooting - -* **Missing lockfile**: generate one (`bun install`) before running `nix build`. -* **Postinstall script fails**: check logs from `nix build`; you may need to add system libraries or patch scripts. -* **Bins missing**: ensure the dependency actually exposes a `bin` entry in its `package.json`. - -[dream2nix]: https://github.com/nix-community/dream2nix - diff --git a/config/claude/settings.json b/config/claude/settings.json index 2ed5a5f89..7b86a374d 100644 --- a/config/claude/settings.json +++ b/config/claude/settings.json @@ -24,6 +24,7 @@ "Bash(gh auth:*)", "Bash(gh issue:*)", "Bash(gh pr checkout:*)", + "Bash(gh pr checks:*)", "Bash(gh pr create:*)", "Bash(gh pr edit:*)", "Bash(gh pr list:*)", @@ -32,6 +33,9 @@ "Bash(gh pr view:*)", "Bash(gh release:*)", "Bash(gh repo:*)", + "Bash(gh run list:*)", + "Bash(gh run view:*)", + "Bash(gh run watch:*)", "Bash(git add:*)", "Bash(git branch:*)", "Bash(git checkout:*)", diff --git a/home-manager/programs/fish/functions/_clxe_function.fish b/home-manager/programs/fish/functions/_clxe_function.fish index 267fd11a5..a5326bcb4 100644 --- a/home-manager/programs/fish/functions/_clxe_function.fish +++ b/home-manager/programs/fish/functions/_clxe_function.fish @@ -3,9 +3,9 @@ function _clxe_function --description "Run Claude Code with a free-form prompt w # Usage: clxe [] if test (count $argv) -eq 0 - claude code --dangerously-skip-permissions + claude --dangerously-skip-permissions else set -l prompt (string join " " -- $argv) - claude code --dangerously-skip-permissions --print -- "$prompt" + claude --dangerously-skip-permissions --print -- "$prompt" end end