!dGrjXvKnCwVLevgmzo:matrix.org

Stockholm NixOS meetup group

51 Members
Monthly meetups in Stockholm, Sweden around Nix releated topics(nixos.org)14 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
6 Oct 2025
@markuskowa:matrix.orgmarkuskowa @lillecarl:matrix.org: use responsibly 🙂 12:37:52
@lillecarl:matrix.orglillecarl
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:matrix.orglillecarlI'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:matrix.orglillecarlAnd 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@palsternacka:matrix.org left the room.06:04:00
15 Oct 2025
@lillecarl:matrix.orglillecarlhttps://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
@claesatwork:matrix.orgClaes
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:matrix.orglillecarlWoooo! I've even deployed nix-csi on an external cluster today so I know the images work 😄15:05:12
@lillecarl:matrix.orglillecarl* Woooo! I've even deployed nix-csi on an external cluster today so I know the images work 😄 Thanks!15:05:19
@claesatwork:matrix.orgClaeswhat 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, deployments15:05:41
@lillecarl:matrix.orglillecarlSoon ™️! I've still got bugs to fix with the garbage collector 😸15:08:04
@lillecarl:matrix.orglillecarl* Soon ™️! I've still got bugs to fix with the garbage collector 😸 Then there will be docs15:08:17
@lillecarl:matrix.orglillecarl(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-word15:11:36
@lillecarl:matrix.orglillecarlfixed! 😄15:46:03
@lillecarl:matrix.orglillecarlhttps://github.com/Lillecarl/nix-csi/commit/accb7b86d3c41f17bee9d45816d910545b403ef915:48:07
@lillecarl:matrix.orglillecarl(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
18 Oct 2025
@lillecarl:matrix.orglillecarlThis works now 😄12:24:28
20 Oct 2025
@monotux:socio.topmonotux joined the room.12:03:04
@lillecarl:matrix.orglillecarlDoes anyone else have the struggle that they built a lot of their NixOS configuration when they were too stupid to do so properly but it keeps working and you're too lazy to do something about it? 😆15:31:22
@markuskowa:matrix.orgmarkuskowaYep, got a lot of legacy config and luckily they are still working great. 15:32:44
@lillecarl:matrix.orglillecarlMy entire thing is a goshdarn mess. I was gaslit by "statix" back in the days that repeating attribute keys are an antipattern and should be avoided, group everything under systemd= or whatever. Also statix doesn't understand shadowing bindings with multiple let blocks. I don't use statix anymore 💩15:34:58

Show newer messages


Back to Room ListRoom Version: 10