Commit graph

2199 commits

Author SHA1 Message Date
Sridhar Ratnakumar
2a4424181d fix warn 2026-05-20 08:06:46 -04:00
Sridhar Ratnakumar
0e0c16c460 twitter-convert, restore minimally 2026-05-20 08:06:44 -04:00
Sridhar Ratnakumar
5a0b2b4207 kolu 2026-05-20 07:46:30 -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
afbae0fa1d Update kolu 2026-05-15 12:23:05 -04:00
Sridhar Ratnakumar
b21e289d74
pureintent: include ~/.pu-state/*/ssh_config in ~/.ssh/config (#116)
* ssh include for pu-state

* route ssh user=pu via socks5 proxy
2026-05-15 12:22:23 -04:00
Sridhar Ratnakumar
9079910f7c kolu 2026-05-15 10:25:46 -04:00
Sridhar Ratnakumar
43b9f34635 pu 2026-05-14 21:35:55 -04:00
Sridhar Ratnakumar
257f71c673 rename 2026-05-14 15:32:58 -04:00
Sridhar Ratnakumar
bc5e7c8d27
pureintent: add devbox.nix with proxychains + devbox-run wrapper (#114)
Routes shell-invoked commands through the existing jumphost SOCKS5 proxy
(programs.jumphost.socks5Proxy), so Go tools that bypass libc (nix, step,
pu) pick up the proxy via ALL_PROXY/HTTPS_PROXY/HTTP_PROXY while libc
callers (ssh) get it via proxychains.

Usage: devbox-run nix run github:juspay/project-unknown -- connect <name>
2026-05-13 16:21:31 -04:00
Sridhar Ratnakumar
4e2be64bb2 update kolu 2026-05-13 16:11:32 -04:00
Sridhar Ratnakumar
7dba95e169 use vanjaram 2026-05-13 16:11:29 -04:00
Sridhar Ratnakumar
fa3cf0b350 up 2026-05-13 15:00:16 -04:00
Sridhar Ratnakumar
a754bddb1b disable 2026-05-13 15:00:15 -04:00
Sridhar Ratnakumar
dfaed502aa kolu 2026-05-12 19:13:46 -04:00
Sridhar Ratnakumar
cf713af87b nix-ld 2026-05-12 19:13:44 -04:00
Sridhar Ratnakumar
af4d3a6653 drop beszel 2026-05-12 18:56:11 -04:00
Sridhar Ratnakumar
66f80ab557 Update inputs 2026-05-12 18:14:23 -04:00
Sridhar Ratnakumar
3ecb65268a Add naiveintent 2026-05-12 18:14:21 -04:00
Sridhar Ratnakumar
bb8b8aa76c pureintetn: wifi stuff 2026-05-12 17:59:39 -04:00
Sridhar Ratnakumar
af2404e6e5 kolu 2026-05-12 17:59:28 -04:00
Sridhar Ratnakumar
fe7324b7f0 new doc 2026-05-07 09:12:33 -04:00
Sridhar Ratnakumar
a86079fb58 exec 2026-05-01 14:45:11 -04:00
Sridhar Ratnakumar
0d3f0c5ef5 kolu: darwin 2026-04-30 12:07:01 -04:00
Sridhar Ratnakumar
ef58ce5586 Update kolu 2026-04-24 11:00:33 -04:00
Sridhar Ratnakumar
8bfe7ee4a5 home: set do not track 2026-04-23 13:28:19 -04:00
Sridhar Ratnakumar
040cf1e004 pureintent: allow passwordless activate rebuild 2026-04-23 12:51:54 -04:00
Sridhar Ratnakumar
93018aa75b Ignore .codex 2026-04-23 12:32:31 -04:00
Sridhar Ratnakumar
a3bd52468a Install zmx on pureintent 2026-04-23 12:24:11 -04:00
Sridhar Ratnakumar
6130fcef8d Update kolu back to master 2026-04-23 12:16:30 -04:00
Sridhar Ratnakumar
055d0c07cc add docs 2026-04-19 16:32:23 -04:00
Sridhar Ratnakumar
9b2db0501f Unfuck tailscale post incus 2026-04-19 11:52:06 -04:00
Sridhar Ratnakumar
a9c844e704 kolu: Update 2026-04-19 11:28:53 -04:00
Sridhar Ratnakumar
4c648e912c
Enable incus on pureintent (#113)
* Enable incus on pureintent, rename lxd.nix, drop unused flake-parts

- Add incus module import to pureintent and bind the UI to its
  Tailscale IP (no firewall change needed since tailscale0 is trusted).
- Rename modules/nixos/linux/lxd.nix -> incus.nix since the module
  configures virtualisation.incus, and enable the bundled web UI.
- Drop the unused modules/flake-parts/incus-image helper; the
  `images:nixos/*` community images cover container/VM launches.

* Move incus module into a directory with a README

The troubleshooting notes used to live as comments in the module; they
belong in docs alongside a quick-start on launching containers/VMs and
configuring the UI listener.

* Expand incus README with VM gotchas

Document the sharp edges hit while bringing up a NixOS VM for the first
time: secureboot, memory/cpu/disk limits (with the error signatures
that point at each), configuring the guest (flakes, firewall), and a
three-step guide to exposing a service from inside.
2026-04-19 11:21:39 -04:00
Sridhar Ratnakumar
6e0c11c239 Cleaup 2026-04-19 09:46:33 -04:00
Sridhar Ratnakumar
a02710abe0 Unused 2026-04-19 09:46:33 -04:00
Sridhar Ratnakumar
4805edf56b Update input 2026-04-19 09:46:07 -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
5661ec53d5 unne. 2026-04-14 21:47:35 -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
88806e222c Up 2026-04-13 18:13:35 -04:00
Sridhar Ratnakumar
b0418bdd93 update kolu 2026-04-12 10:02:21 -04:00
Sridhar Ratnakumar
6f38a2d2fb claude:.. 2026-04-11 10:30:39 -04:00
Sridhar Ratnakumar
d9b6285774 back to mast 2026-04-10 16:14:18 -04:00
Sridhar Ratnakumar
57eb3129c0 cc from officia, 2026-04-09 17:54:15 -04:00
Sridhar Ratnakumar
ce989a6c66 Upstreamed 2026-04-09 17:49:46 -04:00