Stockholm NixOS meetup group | 50 Members | |
| Monthly meetups in Stockholm, Sweden around Nix releated topics(nixos.org) | 14 Servers |
| Sender | Message | Time |
|---|---|---|
| 22 Oct 2025 | ||
| 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 | |
| Short answer: It'll be your choice eventually 😄 | 10:25:41 | |
| 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 | |
| Last time I needed something robust on a rpi I went with alpine Linux running memory semi-immutable | 10:29:13 | |
| 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 | |
| Yo is it meetup today? | 10:54:34 | |
In reply to @ahbk:matrix.orgYes! | 12:53:30 | |
| When and where? | 12:54:14 | |
| @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 | |
| * @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 | |
| * @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 | |
Download image.png | 22:35:27 | |
| 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 | |
| /r/nixos somehow overtook /r/archlinux in terminally online absolute low-tier superhumans. #makenixosworseagain | 22:38:45 | |
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 | |
| I recognize that dog 😍 | 23:14:13 | |
| 23 Oct 2025 | ||
| 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 | |
| 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 | |
Download ima_817cf68.jpg | 19:20:25 | |
| Kiruna must stop using flakes! | 23:05:55 | |
| 24 Oct 2025 | ||
| Suggested time for the next meet-up is Tuesday, November 11th. | 14:56:31 | |
Download image.png | 21:24:03 | |
| markuskowa: Discourse is mad | 21:24:09 | |
| Discourse prevents you from having a blog style post? | 21:25:27 | |
| Apparently so, might be because my account is relatively fresh (merged Salsa9 into lillecarl) | 21:26:05 | |
| Just posted. Your counter is reset. | 21:28:19 | |
| 25 Oct 2025 | ||
| 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 | |
| I've got to make that thing good now 😄😄 | 21:52:51 | |
| 29 Oct 2025 | ||
| https://github.com/Lillecarl/nix-csi/commit/8ddd8f457b38a22bbfb56b5d7e71b4f22c17df65 https://github.com/Lillecarl/lix/commit/b5e5a56b93da57239feb192416291af21df8dfe8 Time based GC for nix-csi!!! Keeps paths around if they've been queried by nix-daemon somehow I also reworked how builds are run, instead of doing Kubernetes jobs I query the APIserver for CSI pods running on nodes with label "nix.csi/builder" and add them as builders. It's all hackpatchy still, I'm using the same ssh keys as host keys, and aith keys on all containers 🤢 One of the more prominent Lix developers said they're never implementing the timegc thingy into Lix, but they do have some RPC ideas where you can subscribe to Lix events, which can be used to implement the same thing with extra steps | 01:02:33 | |
| There's a Python library called "kr8s" which truly makes Kubernetes nice to work with from Python. "It's like kubectl but Python" which is soooo nice | 01:04:05 | |