I would go with NickelMenu as it works with the current firmware and you don't have to worry about having to factory reset.
Here is the line in the NickelMenu config that you need for nightmode.
Code:
menu_item:reader:Invert Screen:nickel_setting:invert