Commit Graph
10 Commits
Author SHA1 Message Date
kurogeek b4f9ae3f94 cursa: build sd-card image with secret injection
`clan machines build cursa --format sd-card` failed in clan-cli's
post-build secret injection:

  Expected directory /nix/store/...-nixos-image-sd-card-...img.zst/sd-card not found in build output

clan-cli assumed $out/<format>/ (only true for iso; sd-card writes
$out/sd-image/) and tried to inject into every format although only iso
has an addFilesScript. Fixed upstream in
patches/upstream-sd-card-secret-injection.patch (pending PR); until it
lands:

- shell.nix: apply patches/clan-cli-image-filepath.patch (the clan-cli
  part of the upstream change) to the devshell's clan-cli.
- modules/nixos/sd-card-image.nix: local copy of the upstream
  clan.core.image.sd-card.addFilesScript module. Writes the vars tree
  directly into the ext4 root partition with debugfs (no boot-time
  hook), verifies with cmp + e2fsck. Delete once clan-core ships it.
- cursa imports it and builds its sd-card image without disko.
2026-09-29 15:33:22 +07:00
kurogeek 6276d9aee0 inputs: bump nixpkgs, frappix. migrate inventree 2026-06-15 16:36:18 +07:00
kurogeek 8874b33a5d greaterchiangmai: nodejs_20 -> nodejs 2026-06-10 18:56:48 +07:00
kurogeek e573bfd98a inventree services are running on procyon and hadar machines 2026-04-24 11:35:50 +07:00
kurogeek cfc967fac9 fix think-backend upload and get avartar image 2026-01-20 14:22:02 +07:00
kurogeek f3d282b763 bump nixpkgs 2026-01-15 11:35:36 +07:00
kurogeek 5af1fa25b9 think-greaterchiangmai file uploader 2026-01-12 13:07:56 +07:00
kurogeek b89e62b727 think.greaterchiangmai.com is running on ramus 2025-12-06 11:26:18 +07:00
kurogeek 2c9592c542 more packages on common 2025-11-06 15:57:01 +07:00
kurogeek 13df0a8421 common nixos module 2025-11-05 16:21:50 +07:00