It might be worth making home-manager set this instead though.
VG5ZNJ3K6FPBEEEA5GX4I7ARZDGO3EYIQX2PDLUSUHIKTDCMKKYQC
EQWBRL6L7JCCRIJO5O4DEA3IV4IAI4RHKL3LOBNDXPOYM3TK5SSAC
environment.variables.EDITOR = "nvim";