On my n-th try to get #nixos to work for me I came across #dwm, which I used regularly years (more like decades) ago. Back then I got annoyed the the constant recompiling to change configuration amd moved on to another tiling wm*. Now on NixOS this feels like a natural fit. Just throw a patch into your nix repo and apply it using the nix dwm configuration. It's all code anyway. I think I'm very close to something which works for me...
- IIRC I went on to write a extensive fvwm2 configuration to make it behave like a tiling vm - because it was part of the OpenBSD base system.