Hi
@snake-4 to let you know:
this module helped to hide LineageOS for another app I have that detects custom ROM! I've checked its code: nice work!
There is also this other older one:
https://github.com/Magisk-Modules-Alt-Repo/ezme-nodebug
This one seems to be also changing some props that you don't.
It will be interesting to kind of mix both, add the props that the other dev has found to yours and then have a v1.1 of yours.
And then publish it as a new thread/tool on XDA Magisk section! (Module to hide LineageOS/custom ROMs in general if properly adapted).
There is currently nothing like that!
Thanks!