Stockholm NixOS meetup group | 49 Members | |
| Monthly meetups in Stockholm, Sweden around Nix releated topics(nixos.org) | 14 Servers |
| Sender | Message | Time |
|---|---|---|
| 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 | |
| There might be a little "race" if paths are queried and updated when using nix-store --gc --print-dead which i use to get candidate paths 😸 When testing locally I didn't consider that I don't run the patched daemon everywhere | 01:48:09 | |
| * There might be a little "race" if paths are queried and updated when using nix-store --gc --print-dead which i use to get candidate paths 😸 When testing locally I didn't consider that I don't run the patched daemon everywhere, that's for tomorrow! | 01:48:14 | |
| @lillecarl, you are becoming famous. They discussed your stuff in Full time Nix podcast, 16 minutes in https://pca.st/episode/c49fbdb3-6fd4-41a2-9023-6d482ab0b8f0?t=1012 | 23:37:39 | |
| * lillecarl: you are becoming famous. They discussed your stuff in Full time Nix podcast, 16 minutes in https://pca.st/episode/c49fbdb3-6fd4-41a2-9023-6d482ab0b8f0?t=1012 | 23:37:57 | |
| * @lillecarl:matrix.org: you are becoming famous. They discussed your stuff in Full time Nix podcast, 17:20 minutes in https://pca.st/episode/c49fbdb3-6fd4-41a2-9023-6d482ab0b8f0?t=1012 | 23:38:41 | |
| * @lillecarl:matrix.org: you are becoming famous. They discussed your stuff in Full time Nix podcast, 17:00 minutes in https://pca.st/episode/c49fbdb3-6fd4-41a2-9023-6d482ab0b8f0?t=1012 | 23:40:14 | |
| Claes: I shoudl've kept it quiet for longer :p there's still so much to trim | 23:41:29 | |
| Thanks for the links though :d | 23:41:39 | |
| Dawn tried to pronounce your name, funny | 23:42:04 | |
| 😆 Ernst Carl++ | 23:43:28 | |
| I don't remember who mentioned it last meetup (I think it was you), the Ernst thing is legt top tier 😄 | 23:44:33 | |
| Yeah I mentioned that people think you are Ernst. Or the other way around, hard to tell! | 23:46:36 | |
| I am Ernst, the 30 year old immature impatient dickhead with a passion 😆 | 23:48:43 | |
| and you like home modelling and baking bread I am sure | 23:51:33 | |
| He missed the part where it doesn't require anything from the kube node (Yeah you can install nix-snapshotter anywhere). But I think that's fine to misunderstand/misinterpret bits 😄 | 23:55:42 | |
| The real deal is: This can be deployed with "YAML" and nothing else 😄 Whatever Kube you're running, wherever it's running | 23:56:47 | |
| nix-snapshotter requires you to install containerd and configure a nix-snapshotter plugin into containerd so it can read the pod manifest URL as storepaths, something something | 23:58:19 | |
| Happy to see it being heard! In a few weeks I reckon i'll be able to do a 1.0 actually. Most things have been considered | 23:59:34 | |
| 30 Oct 2025 | ||
| Currently I'm digging through Lix codebase to implement the "time based GC" thing i keep talking about | 00:00:14 | |
| 1 Nov 2025 | ||
The "solution": Just query the nix database for old registrationTime paths and run nix store delete on them, if they're gcrooted the delete fail. This way the hack that updates registrationTime whenever a path is queried works since we won't do any querying 😄 | 22:02:05 | |
| Sounds simple and less intrusive than patching lix/nix | 22:03:41 | |
| Nono I'm still patching Lix, though it's a very tiny patch and you don't have to patch your client, the service just runs a slightly patched Lix to do the updating whenever a path is queried. There's no way around that except running a command after nix build or nix copy which I don't think is nice at all 😄 | 22:05:56 | |
| Took FOREVER to build the patched Lix for aarch64 | 22:06:44 | |
| Did you give nixbuild.net a try? | 22:16:54 | |
| A long long time ago, it's very good | 22:19:48 | |
| * | 22:20:50 | |
| Ah yes, but it is very good for these big builds. Brings the build time down from forever to short. | 22:24:45 | |
| https://www.meetup.com/openstack-user-group-sweden/ <- I should've posted this earlier but there's an infrastructure event held every not so often which I'm gonna start attending. And their notes: This includes hardware platforms, infrastructure-as-a-Service, virtualisation (kvm, proxmox, etc.), open-source operating systems (Nix anyone?) | 22:27:56 | |