| 22 Oct 2025 |
lillecarl | "I couldn't sleep" AKA I just implemented running Nix builds in Kubernetes jobs instead of in the DaemonSet. Only partially true because it'll talk to the Nix daemon in the DaemonSet but it can be any node in the cluster, node is selected by label nix.csi/builder but also prioritizes Kubernetes.io/hostname that's the same as the node requesting the build 😄 | 02:51:34 |
monotux | where do store the artifacts? pvc or s3 or..? | 08:20:24 |
lillecarl | monotux: The Job reuses the hostPath mount of the CSI (/var/lib/nix-csi/nix) as an optimization, the default labelselector prioritizes building on the node selected to run the pod but if it can't it must go to a binary cache, I didn't finish that bit yet. I did implement an in-cluster cache using openssh and nix-store-ng but the idea is that you'll be able to supply your own build script and upload script along with your own nix.conf to choose where artifacts go yourself so you'll be able to use nix copy, cachix, attic or any other solution (soon ™️) 😄 The initial "paved path" will be the in-cluster nix-store-ng that stores the entire cache on a PVC of your choosing, that bit is implemented within the CSI as an async task running after volume is mounted but I haven't thought made the final decision for where the uploads should happen "in the future". I don't want to upload in the build job since it'll stall volume creation for longer. The jobs source a build script from a ConfigMap that you can edit, so you can already do the upload in there by overriding the build script to both build and upload 😄 I THINK i'll settle on doing uploads in separate jobs that has the node picked as the same one who ran the build, it's very fast enough to create that run with a scratch image that's already cached and reuse the same hostPath mounted store for that operation too. | 10:25:27 |
lillecarl | Short answer: It'll be your choice eventually 😄 | 10:25:41 |
monotux | I'm still just building locally on each machine like a caveman, I should look into something better for my pi's i | 10:28:22 |
monotux | Last time I needed something robust on a rpi I went with alpine Linux running memory semi-immutable | 10:29:13 |
lillecarl | I haven't tried out S3 caching yet but it seems simple enough for a private cache, you set object lifetime to a month and sign the packages before you ship 😄 | 10:33:00 |
I use NixOS btw | Yo is it meetup today? | 10:54:34 |
lillecarl | In reply to @ahbk:matrix.org Yo is it meetup today? Yes! | 12:53:30 |
I use NixOS btw | When and where? | 12:54:14 |
lillecarl | @room time for meet-up today, same place, same time [forum post](https://discourse.nixos.org/t/nix-meetup-in-stockholm-sweden/32867/70)! See you there 🤩 | 13:03:21 |
lillecarl | * @room time for meet-up today, same place, same time [forum post](https://discourse.nixos.org/t/nix-meetup-in-stockholm-sweden/32867/70) ! See you there 🤩 | 13:03:43 |
lillecarl | * @room time for meet-up today, same place, same time https://discourse.nixos.org/t/nix-meetup-in-stockholm-sweden/32867/70 See you there! 🤩 | 13:05:00 |
lillecarl |  Download image.png | 22:35:27 |
lillecarl | These meme skiddie ricer alphahumans are doing a great service to the community and society! OMG I'M SUPERIOR BECAUSE NIXOS :ddd | 22:36:13 |
lillecarl | /r/nixos somehow overtook /r/archlinux in terminally online absolute low-tier superhumans. #makenixosworseagain | 22:38:45 |
lillecarl |  Download Sorry for spamming, I'm a bit drunk. A friend got me this "safety third" sticker, I think that's why I want the relaxed sandbox and no flakes 😝 | 22:43:35 |
Claes | I recognize that dog 😍 | 23:14:13 |
| 23 Oct 2025 |
lillecarl | Rickard Nilsson: Implemented the storepath operation mode now where nix-csi just fetches from cache and mounts here
If you use this in combination with easykubenix which now has support for uploading the generated manifests to cache it's really quite convenient.
The manifest could be built with nixbuild 😄
| 14:15:52 |
monotux | off-topic, but we've just had some proper stockholms-vinter here in Kiruna the last few days
(we are waiting for the real deal...) | 19:20:25 |
monotux |  Download ima_817cf68.jpg | 19:20:25 |
lillecarl | Kiruna must stop using flakes! | 23:05:55 |
| 24 Oct 2025 |
markuskowa | Suggested time for the next meet-up is Tuesday, November 11th. | 14:56:31 |
lillecarl |  Download image.png | 21:24:03 |
lillecarl | markuskowa: Discourse is mad | 21:24:09 |
markuskowa | Discourse prevents you from having a blog style post? | 21:25:27 |
lillecarl | Apparently so, might be because my account is relatively fresh (merged Salsa9 into lillecarl) | 21:26:05 |
markuskowa | Just posted. Your counter is reset. | 21:28:19 |
| 25 Oct 2025 |
Claes | Someone posted your Discourse post to Hacker News, @lillecarl:matrix.org
https://news.ycombinator.com/item?id=45694510
(It wasn't me) | 21:43:39 |
lillecarl | I've got to make that thing good now 😄😄 | 21:52:51 |