Replacing the KDE window manager (kwin) with i3?

I’m on a new installation of Nix, and my current goal is to use replace Kwin with i3 for the window manager of KDE Plasma 6. Currently there are no docs on achieving this in Nix OS. However, there is this resource. This is the configuration that I have tried in order to achieve this, but I’m not sure if this is replacing Kwin. I believe it is installing next to Kwin.

This is the relevant part of configuration.nix

services.desktopManager.plasma6.enable = true;

  # Keep Plasma as the desktop environment but use i3
  services.xserver.windowManager.i3.enable = true;

My laptop is running out of battery, so I will just say that I plan to excluse kwin in config.nix and report back

So when you disable plasma6 in you config KDE will not be available for the “desktop- part”.
Instead the solution is a bit different:
https://wiki.archlinux.org/title/KDE#Use_a_different_window_manager
It suggests to edit systemd so when starting kde trough displaymanager I3 is started instead of Kwin.