Cut comments in nix/ #33

Merged
arne merged 2 commits from comments-nix into main 2026-11-07 22:15:14 +01:00
Owner

Stacked on #31. Comments only, cut to CLAUDE.md's rules: about 2,300 comment lines down to about 590 across 32 files (+586 / −2873).

Kept, shortened:

  • Constraints that still hold, e.g. no mkDefault on trusted-users / allowUnfree, greetd settings set per key, the %I vs systemd-escape --path pairing, git needed during evaluation, pinned.nix's priority trap, settings.nix's recursion rule.
  • Exact error strings people grep for.

Removed:

  • Milestone tags, machine names, "used to" history, how bugs were found.
  • Long file headers.
  • ### banners, now short ## Label lines in long files only.

Left alone:

  • Option description strings.
  • Content of generated files.
  • End-of-line comments on code lines.

Worth a look:

  • Two new TODOs: zram sizing (system.nix) and a real engine for fjordxy-pwa (package.nix).
  • pinned.nix's header went from ~137 lines to 13.

Verified:

  • nix fmt changes nothing.
  • nix flake check passes.
  • black's system builds.
  • A filter over the diff shows only comment and blank lines changed.

🤖 Generated with Claude Code

Stacked on #31. Comments only, cut to CLAUDE.md's rules: about 2,300 comment lines down to about 590 across 32 files (+586 / −2873). **Kept, shortened:** - Constraints that still hold, e.g. no `mkDefault` on `trusted-users` / `allowUnfree`, greetd settings set per key, the `%I` vs `systemd-escape --path` pairing, `git` needed during evaluation, `pinned.nix`'s priority trap, `settings.nix`'s recursion rule. - Exact error strings people grep for. **Removed:** - Milestone tags, machine names, "used to" history, how bugs were found. - Long file headers. - `###` banners, now short `## Label` lines in long files only. **Left alone:** - Option `description` strings. - Content of generated files. - End-of-line comments on code lines. **Worth a look:** - Two new TODOs: zram sizing (`system.nix`) and a real engine for `fjordxy-pwa` (`package.nix`). - `pinned.nix`'s header went from ~137 lines to 13. Verified: - `nix fmt` changes nothing. - `nix flake check` passes. - black's system builds. - A filter over the diff shows only comment and blank lines changed. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
arne changed target branch from niri-from-nixpkgs to main 2026-11-07 22:15:13 +01:00
arne force-pushed comments-nix from 9eb676316e to 3dda7662f3 2026-11-07 22:15:14 +01:00 Compare
arne merged commit b92616792c into main 2026-11-07 22:15:14 +01:00
arne referenced this pull request from a commit 2026-11-07 22:15:14 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
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
bases/fjord!33
No description provided.