Even though the website says it’s RTL8811CU, the driver for RTL8821CU works just fine. For future readers: add this to your hardware-configuration.nix:
boot.initrd.kernelModules = [ "8821cu" ];
boot.extraModulePackages = [ config.boot.kernelPackages.rtl8821cu ];