djanatyn / ssbm-nix

Nix expressions for Super Smash Bros. Melee players.
31 stars 17 forks source link

systemd service for ssbm.gcc.oc-kmod.enable #9

Closed ursi closed 3 years ago

ursi commented 3 years ago

Is there any reason you wouldn't want the polling kernel module turned on all the time? If not, could we make a systemd service that runs modprobe gcadapter_oc on boot and add it to the ssbm.gcc.oc-kmod.enable option so enabling it in your config is all you gotta do?

djanatyn commented 3 years ago

Closing after discussion on #10 with changes pushed: https://github.com/djanatyn/ssbm-nix/commit/8107028168777bdf91e13dff31f82cb64095a874.

Enabling the option ssbm.gcc.oc-kmod.enable now adds "gcadapter_oc" to boot.kernelModules, ensuring the module is loaded at boot time.