yeah, I do a similar thing where I have a custom kdeslim.nix file so I can run some plasma5 components on i3 but not the whole thing and then I just import through my configs.
Similarly you could also just override the package if it’s one small attribute you want to change, but I’m guessing for this situation writing something else would be cleaner.