But it doesnt have any params set as sudo sysctl -a | grep ec_sys is giving no output, Also the program I am using (MControlCenter) that requires write support isnt able to load the module.
Someone please help me troubleshoot this issue.
TIA
Do you have MControlCenter installed via home-manager as a user package or via default nixos config as a global package? I had the same problem, and after working on it a lot, it turned out that I just had to install it as a global package. I also installed the msi-ec package as stated in the official repo of MControlCenter, that also might help you. Also, if you wanna check whether write_support is enabled, then you should check the content of /sys/module/ec_sys/parameters/write_support. In my case, it shows the following: