Add xserver to enable nvidia driver.

This commit is contained in:
jay committed 2025-07-09 08:33:23 -04:00
1 parent 6c68e77b58
commit dc65b193fa
2 files changed
+14

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
{ pkgs, ...}: {
# Enable the X11 windowing system.
# You can disable this if you're only using the Wayland session.
services.xserver = {
enable = true;
xkb = {
layout = "us";
variant = "";
};
videoDrivers = [ "nvidia" ];
};
}