| 1 Oct 2025 |
lillecarl | Aye I also "built" flake-compatish which is flake-compat but stripped down of legacy compat code (requires fetch-tree which is what flakes use), it outputs attrset { outputs = {}; impure = {}; } (where impure is just mapping away the system attr thingy). It never loads the current repo into store, it doesn't load path: inputs into store. | 23:29:14 |
lillecarl | * Aye I also "built" flake-compatish which is flake-compat but stripped down of legacy compat code (requires fetch-tree which is what flakes use), it outputs attrset { outputs = {}; impure = {}; } (where impure is just mapping away the system attr thingy). It never loads the current repo into store, it doesn't load path: inputs into store. (Please ask questions, I'm dying to speak about stuff :P) | 23:33:23 |
| 2 Oct 2025 |
Claes | > And I've got a gig at an old employer as a consultant, gonna build a small-scale but fully featured Kubernetes thingy
Fantastic! | 06:58:23 |
lillecarl | https://github.com/Lillecarl/dinix/commit/1744bd1eae43f0374cb28be71412e7e1ed997bb5 When you realize you've been stupid and now you're slightly less stupid +70 -324 😄 | 18:58:21 |
| 3 Oct 2025 |
markuskowa | Let's keep the ball rolling: next meet-up on Wednesday, October 22nd. Give a thumbs if you're planning to join. | 08:09:23 |
| asoderlind joined the room. | 17:11:19 |
asoderlind | hey guys! I'm relatively new to nixos but loving it so far, mostly for self-hosting stuff on VPSes and managing dotfiles so far 😄 so cool to see there is a sthml community | 17:18:15 |
| 6 Oct 2025 |
| markuskowachanged room power levels. | 12:23:57 |
| markuskowachanged room power levels. | 12:24:07 |
| markuskowachanged room power levels. | 12:24:24 |
| markuskowachanged room power levels. | 12:24:35 |
| markuskowachanged room power levels. | 12:26:43 |
lillecarl | In reply to @asoderlind:envs.net hey guys! I'm relatively new to nixos but loving it so far, mostly for self-hosting stuff on VPSes and managing dotfiles so far 😄 so cool to see there is a sthml community Hey man, welcome to NixOS and Nix! Hope to see you on the 22nd for the meetup! If you need help with anything feel free to reach out, we've got a quite experienced community here. I learned Nix by myself and it took way too much time using my typical ADHD style learning by doing 😝 | 12:29:13 |
lillecarl | Oooof new power, I feel the creep already (/s) 😄 | 12:30:31 |
markuskowa | @lillecarl:matrix.org: use responsibly 🙂 | 12:37:52 |
lillecarl | In reply to @markuskowa:matrix.org @lillecarl:matrix.org: use responsibly 🙂 Ofc I'm just kidding. I'll make sure to remind everyone about meetups. I'm not the moderator kind of guy, and this community is pretty self-moderating :p | 12:39:30 |
| 12 Oct 2025 |
lillecarl | I've spent the last two days reimplementing kubenix, but without the OpenAPI -> Nix options codegen bit. Instead it's types.anything and I generate a script that spins up an ephemeral etcd and kube-apiserver and apply the generated manifests on it. (My thought was, who is more authoritative than kube-apiserver!? for validation)!?
I also generate a script to apply the generated manifests with "kluctl" straps a label on every resource and supports pruning anything with that label which isn't in the manifest (Like kubectl --prune but less scary) :) | 18:39:03 |
lillecarl | And it got me thinking about how nix-snapshotter does their thing with storepaths for mounting things into Kubernetes. The CI worker that runs "easykubenix" to generate manifests could set a volume attribute (storePath). Then ship the generated manifest(that now depends on the package you wanna run) to a cache and it'll be available to fetch on the worker nodes 😄 | 18:42:44 |
| 13 Oct 2025 |
| @palsternacka:matrix.org left the room. | 06:04:00 |
| 15 Oct 2025 |
lillecarl | https://discourse.nixos.org/t/nixifying-kubernetes-with-nix-csi-easykubenix-and-dinix/70899 A big step for Carl, a small step for mankind 😝 | 01:54:43 |
| 17 Oct 2025 |
Claes | In reply to @lillecarl:matrix.org https://discourse.nixos.org/t/nixifying-kubernetes-with-nix-csi-easykubenix-and-dinix/70899 A big step for Carl, a small step for mankind 😝 Fantastic response you are getting there @lillecarl:matrix.org | 15:03:38 |
lillecarl | Woooo! I've even deployed nix-csi on an external cluster today so I know the images work 😄 | 15:05:12 |
lillecarl | * Woooo! I've even deployed nix-csi on an external cluster today so I know the images work 😄 Thanks! | 15:05:19 |
Claes | what I think I would need to wrap my head around it would be some diagram to illustrate how it works together with k8s nodes, pods, deployments | 15:05:41 |
lillecarl | Soon ™️! I've still got bugs to fix with the garbage collector 😸 | 15:08:04 |
lillecarl | * Soon ™️! I've still got bugs to fix with the garbage collector 😸 Then there will be docs | 15:08:17 |
lillecarl | (I need to import the nix database from the containerimage that's bootstrapping the DaemonSet CSI every time the container starts since the image could change and reference new storePaths. Goshdarn state always being a b-word | 15:11:36 |
lillecarl | fixed! 😄 | 15:46:03 |
lillecarl | https://github.com/Lillecarl/nix-csi/commit/accb7b86d3c41f17bee9d45816d910545b403ef9 | 15:48:07 |
lillecarl | (Setup "fakeNss") in the init container so we can run nix_init_db which merges the statefulset database with the one from the image. Same command that's used to initialize nixdb for the CSI /nix volumes 😄 | 15:51:37 |