Commit graph

29 commits

Author SHA1 Message Date
Sridhar Ratnakumar
8b0ec744cc Comment out DO_NOT_TRACK env var (claude-code#69358) 2026-06-20 16:48:27 -04:00
Sridhar Ratnakumar
b4a60aaf3a
ralph(eval): reduce Nix eval time for pureintent + zest (#120)
* ralph(eval): baseline + benchmark harness

pureintent cpuTime 23.17s, zest cpuTime 14.93s (median of 5).
Methodology: NIX_SHOW_STATS cpuTime, eval-cache off, warm fetcher cache.

* ralph(eval) cycle 1: disable NixOS options manual on pureintent

documentation.nixos.enable = false. Generating the NixOS manual evaluates
every option's doc string. nrThunks 20,400,114 -> 19,201,996 (-5.9%),
nrFunctionCalls -6.2%, nrPrimOpCalls -7.5%. Package man pages unaffected.

Metric pivoted to deterministic NIX_SHOW_STATS counters: cpuTime is unusable
on this thermally-throttling machine (same eval = 11s..21s).

* ralph(eval): switch home target zest -> sincereintent (per request)

sincereintent home config baseline: nrThunks 5,323,428 / calls 3,227,404 /
primops 1,565,120 (deterministic).

* ralph(eval) cycle 2: disable home-manager options manpage

manual.manpages.enable = false in shared modules/home/default.nix. HM builds
home-configuration.nix(5) by default, evaluating every HM option's doc string.
sincereintent nrThunks 5,323,428 -> 3,551,679 (-33.3%), calls -35%, primops -39%.

* ralph(eval): record cycle-2 pureintent gain (shared HM module)

pureintent nrThunks 19,201,996 -> 17,431,437 (-9.2%); cycle-2's
manual.manpages.enable=false also feeds pureintent's embedded home-manager
via modules/nixos/default.nix. Total pureintent -14.6% from baseline.

* ralph(eval) cycle 3: profiling + dead-ends (no behaviour-preserving win)

Confirmed: nixpkgs single-instantiation (no 2x trap), unused inputs are lazy
(no counter impact), escapeShellArg hotspot is HM file-linking + /etc (not
patchable here). Remaining eval cost is feature-bound (embedded HM, vira/kolu,
google-cloud-sdk/pandoc/omnix).

* ralph(eval) cycle 4: drop heavy home.packages (yt-dlp/lima/omnix/pandoc/gcloud)

User-approved behaviour change. Removed from shared modules/home/cli/terminal.nix
(kept hledger). pureintent nrThunks 17,431,437 -> 16,989,720 (-2.5%),
sincereintent 3,551,679 -> 2,757,201 (-22.4%). Totals from baseline:
pureintent -16.7%, sincereintent -48.2%.

* ralph(eval): finalize report (final measurement, key findings, cost breakdown)
2026-05-29 07:19:48 -04:00
Sridhar Ratnakumar
8bfe7ee4a5 home: set do not track 2026-04-23 13:28:19 -04:00
Sridhar Ratnakumar
ae331588b2 enable nixvim 2026-03-30 19:57:27 -04:00
Sridhar Ratnakumar
f5c92e3ad5 npm 2025-11-29 14:43:36 -05:00
Sridhar Ratnakumar
7e0d61f708 f hx 2025-11-26 17:46:20 -05:00
Sridhar Ratnakumar
d64bacdb90
Reorganize home modules into logical categories (#100) 2025-11-21 14:17:20 -05:00
Sridhar Ratnakumar
b6ac2b742b git roxy 2025-11-17 11:23:30 -05:00
Sridhar Ratnakumar
f632e95717 gotty to ttyd 2025-10-30 11:21:04 -04:00
Sridhar Ratnakumar
168df2abe2 Fix claude on macos 2025-10-12 11:46:25 -04:00
Sridhar Ratnakumar
de60109903
Add gotty web service, and use it in sensuous (#97) 2025-09-09 18:13:27 -04:00
Sridhar Ratnakumar
889ab1e7a3 add back helix 2025-09-09 16:30:02 +02:00
Sridhar Ratnakumar
e2731f8ff6 neovim: gg, nixpkgs fucker cache broke 2025-09-07 16:42:33 -04:00
Sridhar Ratnakumar
283fbff408 Add home configuration for hetzner 2025-09-07 16:30:01 +02:00
Sridhar Ratnakumar
b40c9342aa Force passphrase always 2025-08-28 22:58:17 -04:00
Sridhar Ratnakumar
51ef14630e
Claude Code home-manager configuration (#96)
* Init

* Refactor subagents
2025-08-27 14:54:38 -04:00
Sridhar Ratnakumar
ba2be77a10 Refactor home-manager modules 2025-08-24 14:06:33 -04:00
Sridhar Ratnakumar
ba090bc142 Use explicit hostname 2025-07-25 15:13:57 -04:00
Sridhar Ratnakumar
682d2f1f89 Dropbox syncthing (using Dropbox now) 2025-07-13 17:17:32 -04:00
Sridhar Ratnakumar
1597e18d9f Add syncthing 2025-07-02 14:51:52 -04:00
Sridhar Ratnakumar
6cf1736bf5 macos: 1p cli 2025-06-27 18:07:12 +10:00
Sridhar Ratnakumar
c129322fee zellij: reintroduce 2025-02-18 12:56:16 -05:00
Sridhar Ratnakumar
f9b04510f6 disable zellij (fucks up vscode/zed term) 2025-02-17 15:36:30 -05:00
Sridhar Ratnakumar
74d7aba11e Disable 1password ssh agent 2024-11-27 10:52:18 -05:00
Sridhar Ratnakumar
bb33fbc0e8
1password: make ssh agent/signing work on Linux 2024-10-22 20:20:13 -04:00
Sridhar Ratnakumar
bac640464e neovim: add nvim-tree 2024-10-22 18:28:59 -04:00
Sridhar Ratnakumar
dab5de36a2
Emacs on darwin only 2024-10-05 16:36:28 -04:00
Sridhar Ratnakumar
a53a45f651
Add back Emacs (#64) 2024-10-05 15:32:08 -04:00
Sridhar Ratnakumar
dd31fa1212
Convention-over-configuration layout (#62) 2024-09-28 18:01:53 -04:00