Nvidia gtx1060 drivers

hello im new nixos user how i can install drivers for nvidia gtx1060 6gb and activate gpu

Hey welcome to NixOS discourse!

You have no graphics at all at the moment? Because I’d say that the open source nouveau drivers should at least give you display output…

For the proprietary Nvidia drivers, you might add something like this to your configuration:

  hardware.opengl = {
    enable = true;
    driSupport = true;
    driSupport32Bit = true;

  services.xserver.videoDrivers = ["nvidia"];

  hardware.nvidia = {
    modesetting.enable = true;
    nvidiaSettings = true;

Assuming that you can use the latest stable driver with this card, which I think you can, but then again you might just have to try. Also no guarantees this will work as I can’t try it myself :slight_smile:

I need to add this lines manually or find the original lines in the configuration where I can paste it?

Well if there is nothing in configuration.nix yet, you will need to add them. :slight_smile: