Skip to content

chore: format repo using treefmt-nix and nixfmt-rfc-style #1496

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 1, 2025

Conversation

8bitbuddhist
Copy link
Contributor

@8bitbuddhist 8bitbuddhist commented Jun 4, 2025

Description of changes

Adds treefmt support via treefmt-nix and formats all code according to the nixfmt-rfc-style. Closes #1440.

I checked this using nix flake check and nix run ./tests#run .

Things done
  • Tested the changes in your own NixOS Configuration
  • Tested the changes end-to-end by using your fork of nixos-hardware and
    importing it via <nixos-hardware> or Flake input

@8bitbuddhist 8bitbuddhist marked this pull request as ready for review June 4, 2025 16:57
@8bitbuddhist 8bitbuddhist requested a review from fgaz as a code owner June 4, 2025 16:57
@Mic92
Copy link
Member

Mic92 commented Jul 1, 2025

Sorry for letting this slip. Could you format the tree one more time and move the github action to a different PR?

@8bitbuddhist
Copy link
Contributor Author

Sorry for letting this slip. Could you format the tree one more time and move the github action to a different PR?

No worries 🙂 The second PR is #1520

@Mic92 Mic92 merged commit c26dd9b into NixOS:master Jul 1, 2025
2 checks passed
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.

treewide: nixfmt
2 participants