Nvidia: Difference between revisions
m
fixed link to „Unfree software“ (capitalization)
Singiamtel (talk | contribs) m (Fix broken link) |
m (fixed link to „Unfree software“ (capitalization)) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 21: | Line 21: | ||
== Enable unfree software repositories == | == Enable unfree software repositories == | ||
Make sure to allow [[Unfree | Make sure to allow [[Unfree software|unfree software]]. The unfree NVIDIA packages include <code>nvidia-x11</code>, <code>nvidia-settings</code>, and <code>nvidia-persistenced</code>. | ||
== Modifying NixOS configuration == | == Modifying NixOS configuration == | ||
Line 34: | Line 33: | ||
{ | { | ||
# Enable | # Enable graphics driver in NixOS unstable/NixOS 24.11 | ||
hardware.opengl = { | hardware.graphics.enable = true; | ||
# The same as above but for NixOS 23.11 | |||
#hardware.opengl = { | |||
# enable = true; | |||
}; | # driSupport = true; | ||
#}; | |||
# Load "nvidia" driver for Xorg and Wayland | # Load "nvidia" driver for Xorg and Wayland | ||
Line 302: | Line 302: | ||
{ | { | ||
# Enable graphics driver in NixOS unstable/NixOS 24.11 | |||
hardware.graphics.enable = true; | |||
# The same as above but for NixOS 23.11 | |||
#hardware.opengl = { | |||
# enable = true; | |||
# driSupport = true; | |||
#}; | |||
# Load nvidia driver for Xorg and Wayland | |||
# Load nvidia driver for Xorg and Wayland | |||
services.xserver.videoDrivers = ["nvidia"]; | services.xserver.videoDrivers = ["nvidia"]; | ||