Hacker News new | ask | show | jobs
by charcircuit 1044 days ago
This is handled by having multiple config files. System specfic stuff goes into a dedicated file which wouldn't be shared.
1 comments

And proprietary drivers?
I only use one, which is nvidia. It's already a nixos option, so I just set them on my configuration file.

Three options to be exact:

hardware.nvidia.modesetting.enable = true; services.xserver.videoDrivers = [ "nvidia" ]; hardware.opengl = { enable = true; driSupport = true; driSupport32Bit = true; };

First enables nvidia modesetting, second enables the driver, and the third enables opengl, with a special flag to also enable it for 32bit stuff (like old games on steam).