WIP: treewide: add pre-commit nixfmt hook, reformat everything #96

Draft
k900 wants to merge 3 commits from format into main
Owner

Do we want this? idk

I like some bits a lot and dislike some bits a lot but consistency is also good

Bring on the bikeshed

Do we want this? idk I like some bits a lot and dislike some bits a lot but consistency is also good Bring on the bikeshed
Owner

without CI in this repo, it's not worth having formatting IMHO, moving to draft.

without CI in this repo, it's not worth having formatting IMHO, moving to draft.
raito changed title from treewide: add pre-commit nixfmt hook, reformat everything to WIP: treewide: add pre-commit nixfmt hook, reformat everything 2025-07-18 02:30:16 +00:00
This pull request has changes conflicting with the target branch.
  • .gitignore
  • common/admins.nix
  • common/base-server.nix
  • common/hardware/raito-vm.nix
  • common/raito-proxy-aware-nginx.nix
  • common/ssh-keys.nix
  • common/sysadmin/default.nix
  • common/zsh.nix
  • flake.lock
  • flake.nix
  • hosts/afnix/wob-vpn-gw/netboot.nix
  • hosts/floral/gerrit01/default.nix
  • overlays/default.nix
  • secrets.nix
  • services/baremetal-builder/assignments.nix
  • services/baremetal-builder/default.nix
  • services/baremetal-builder/netboot.nix
  • services/buildbot/default.nix
  • services/forgejo/default.nix
  • services/gerrit/default.nix
  • services/gerrit/one-way-sync.nix
  • services/gerrit/www.nix
  • services/hydra/default.nix
  • services/monitoring/agent.nix
  • services/monitoring/exporters/nginx.nix
  • services/monitoring/hookshot-adapter/default.nix
  • services/monitoring/lgtm/grafana.nix
  • services/monitoring/lgtm/mimir.nix
  • services/ofborg/default.nix
  • terraform/gandi.nix
  • terraform/hydra.nix
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin format:format
git switch format

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff format
git switch format
git rebase main
git switch main
git merge --ff-only format
git switch format
git rebase main
git switch main
git merge --no-ff format
git switch main
git merge --squash format
git switch main
git merge --ff-only format
git switch main
git merge format
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: the-distro/infra#96
No description provided.