Sridhar Ratnakumar
10d35972af
stuff
2026-07-11 13:46:45 -04:00
Sridhar Ratnakumar
4c85b9d8af
Merge branch 'master' of https://github.com/srid/nixos-config
2026-07-07 20:43:41 -04:00
Sridhar Ratnakumar
bfb602169c
1p
2026-07-07 20:43:38 -04:00
Sridhar Ratnakumar
fa89a74721
w1
2026-07-02 17:40:14 -04:00
Sridhar Ratnakumar
b54a55c1d9
emanote-
2026-07-01 13:43:21 -04:00
Sridhar Ratnakumar
2fabe6b9e3
local
2026-06-25 12:25:16 -04:00
Sridhar Ratnakumar
66eaa2baef
pulam-web
2026-06-24 20:56:20 -04:00
Sridhar Ratnakumar
84cc005472
opencode stuff
2026-06-22 13:35:35 -04:00
Sridhar Ratnakumar
7ee4b8800e
opencode: use Juspay config via upstream home module
...
Consume juspay/AI's homeModules.opencode (config only, not the package) on
both zest and pureintent, install the opencode binary from nixpkgs, and
export JUSPAY_API_KEY from the agenix secret into interactive shells.
2026-06-21 16:59:29 -04:00
Sridhar Ratnakumar
8b0ec744cc
Comment out DO_NOT_TRACK env var (claude-code#69358)
2026-06-20 16:48:27 -04:00
Sridhar Ratnakumar
7fc1735c34
tadata
2026-06-06 10:33:47 -04:00
Sridhar Ratnakumar
43521a183f
nw
2026-06-06 09:39:49 -04:00
Sridhar Ratnakumar
d246da2f79
drishti
2026-05-30 19:44:55 -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
6bb433025b
stop fucking with /nix, retard
2026-05-26 09:42:41 -04:00
Sridhar Ratnakumar
b50d6077b6
imako--
2026-05-23 10:27:35 -04:00
Sridhar Ratnakumar
2a4424181d
fix warn
2026-05-20 08:06:46 -04:00
Sridhar Ratnakumar
a28ba07abb
Optimize pureintent eval time (Ralph) ( #117 )
...
* docs: Ralph report scaffolding + pureintent eval baseline (10.87s)
* cycle-1: drop nixvim — pureintent eval 10.87s → 6.98s (-36%)
nixvim's home-manager module system is by far the dominant cost of
evaluating `nixosConfigurations.pureintent`: a profile of selective
imports puts it at 3.97s of the 10.87s baseline (~36%).
Replace it with a minimal `programs.neovim.enable = true` configuration.
The runtime behaviour of `nvim` changes (no plugins, no LSP, no
mapleader/telescope/treesitter/etc.) — accepted by the user.
Measured on srid-nc (nixos, 6.12.85 kernel), 7 warm-cache runs with
`--option eval-cache false`:
baseline: 10.85 10.86 10.86 10.87 10.87 10.88 10.91 -> median 10.87s
cycle-1: 6.94 6.96 6.98 6.98 7.02 7.02 7.73 -> median 6.98s
Other configurations still evaluate:
- nixosConfigurations.naiveintent
- darwinConfigurations.infinitude-macos
- homeConfigurations."srid@zest"
Removes flake input `nixvim` (+ its `flake-parts`, `nixpkgs`, `systems`
sub-inputs from the lock).
* docs: wrap up Ralph report (10.87s -> 6.99s = -35.7%)
7 dead-ends documented so they don't have to be re-tried. Key
finding: after dropping nixvim (cycle 1), the eval floor is
home-manager's per-entry submodule materialisation
(systemd.user.services / programs.ssh.matchBlocks), not the
option-declaration count of any wrapper module. Inlining
jumphost-nix or vira moves the cost; it does not eliminate it.
2026-05-15 13:32:03 -04:00
Sridhar Ratnakumar
7dba95e169
use vanjaram
2026-05-13 16:11:29 -04:00
Sridhar Ratnakumar
a754bddb1b
disable
2026-05-13 15:00:15 -04:00
Sridhar Ratnakumar
0d3f0c5ef5
kolu: darwin
2026-04-30 12:07:01 -04:00
Sridhar Ratnakumar
8bfe7ee4a5
home: set do not track
2026-04-23 13:28:19 -04:00
Sridhar Ratnakumar
6e0c11c239
Cleaup
2026-04-19 09:46:33 -04:00
Sridhar Ratnakumar
fb5ee76b09
claude
2026-04-16 10:43:57 -04:00
Sridhar Ratnakumar
e7e2544d24
umm
2026-04-15 06:55:10 -04:00
Sridhar Ratnakumar
ae12642991
warn
2026-04-14 21:49:03 -04:00
Sridhar Ratnakumar
ed49dac1cd
unnerf opus really
2026-04-14 21:47:28 -04:00
Sridhar Ratnakumar
e4c0ed531d
..
2026-04-14 15:48:45 -04:00
Sridhar Ratnakumar
7de488b235
unnerf opus
2026-04-13 18:24:54 -04:00
Sridhar Ratnakumar
6f38a2d2fb
claude:..
2026-04-11 10:30:39 -04:00
Sridhar Ratnakumar
2803fdb50f
no vte
2026-04-07 10:42:03 -04:00
Sridhar Ratnakumar
2e1e36520c
remove
2026-04-04 13:47:23 -04:00
Sridhar Ratnakumar
bc6ba430cf
add compress-video script for reducing video size
2026-04-04 12:29:03 -04:00
Sridhar Ratnakumar
58ce5e16e8
van
2026-04-04 12:18:36 -04:00
Sridhar Ratnakumar
2fc79d1422
fff
2026-04-03 20:52:07 -04:00
Sridhar Ratnakumar
44030e62e3
grr
2026-03-31 17:38:05 -04:00
Sridhar Ratnakumar
f9c1fc0fc7
fuck
2026-03-31 14:32:34 -04:00
Sridhar Ratnakumar
ae331588b2
enable nixvim
2026-03-30 19:57:27 -04:00
Sridhar Ratnakumar
35ac61cfdc
gc
2026-03-27 21:00:08 -04:00
Sridhar Ratnakumar
f6bd6847c4
controlpersist
2026-03-23 20:50:31 -04:00
Sridhar Ratnakumar
6203fa4370
kolu: unique port
2026-03-22 11:47:05 -04:00
Sridhar Ratnakumar
219f17d8ba
Add kolu home service for pureintent ( #111 )
...
* Add kolu home service for pureintent
Depends on https://github.com/juspay/kolu/pull/21
* Update kolu input to main (PR merged)
2026-03-21 20:17:57 -04:00
Sridhar Ratnakumar
4937e68d5c
umm
2026-03-20 16:13:53 -04:00
Sridhar Ratnakumar
6c637a02d2
vira: add kol;u
2026-03-19 14:07:12 -04:00
Sridhar Ratnakumar
e5fa70c254
opencode: switch to anthropic opus 4.6 max, drop juspay provider
2026-03-18 21:13:36 -04:00
Sridhar Ratnakumar
60dd17f5fa
claude: no sandbox
2026-03-18 10:46:12 -04:00
Sridhar Ratnakumar
4c2304d8a4
claude: direct anthropic for now
2026-03-18 09:16:12 -04:00
Sridhar Ratnakumar
11bde0d900
Restore skills
2026-03-16 17:39:42 -04:00
Sridhar Ratnakumar
0537ef99b9
Migrate AI config to nixos-config, use nix-agent-wire ( #107 )
...
- Move AI config from nix-agent-wire/srid to ./AI
- Update flake input: srid/AI -> srid/nix-agent-wire
- Update home modules to use local AI folder via flake.self.outPath
2026-03-16 16:58:08 -04:00
Sridhar Ratnakumar
61957432fa
oops
2026-03-16 16:06:48 -04:00