Skip to content

🤖 feat: add lg alias and nix flake formatter#74

Merged
ThomasK33 merged 1 commit into
mainfrom
nix-devshell-8q94
Feb 13, 2026
Merged

🤖 feat: add lg alias and nix flake formatter#74
ThomasK33 merged 1 commit into
mainfrom
nix-devshell-8q94

Conversation

@ThomasK33

Copy link
Copy Markdown
Member

Summary

This PR improves the Nix developer experience by adding lazygit to the dev shell, defining a short lg alias, and exposing a flake formatter so nix fmt is available.

Background

Using lazygit from this repository previously required manual installation or typing the full binary name. The flake also lacked a configured formatter output for standard nix fmt workflows.

Implementation

  • Added lazygit to devShells.<system>.default.packages in flake.nix
  • Added a shellHook alias: lg='lazygit'
  • Added a formatter output across supported systems using pkgs.nixfmt
  • Ran nix fmt flake.nix to keep style consistent

Validation

  • make verify-vendor
  • make test
  • make build
  • make lint
  • nix flake check --no-build

Risks

Low. Changes are limited to development shell ergonomics and formatter wiring; runtime application code is unaffected.


Generated with mux • Model: openai:gpt-5.3-codex • Thinking: xhigh • Cost: $0.00

Adds lazygit to the Nix dev shell package set, defines an `lg` alias for `lazygit` in shellHook, and exposes a flake formatter output for `nix fmt`.

---

_Generated with `mux` • Model: `openai:gpt-5.3-codex` • Thinking: `xhigh` • Cost: `$0.00`_

<!-- mux-attribution: model=openai:gpt-5.3-codex thinking=xhigh costs=0.00 -->
@ThomasK33

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ThomasK33 ThomasK33 added this pull request to the merge queue Feb 13, 2026
@ThomasK33

Copy link
Copy Markdown
Member Author

Merged via the queue into main with commit 1261148 Feb 13, 2026
8 checks passed
@ThomasK33 ThomasK33 deleted the nix-devshell-8q94 branch February 13, 2026 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant