Add xserver to enable nvidia driver.

This commit is contained in:
jay
2025-07-09 08:33:23 -04:00
parent 6c68e77b58
commit dc65b193fa
2 changed files with 14 additions and 0 deletions

View File

@@ -11,6 +11,7 @@
./hardware-configuration.nix
./impermanence.nix
./programs/streamcontroller.nix
./services/xserver.nix
./system/bootloader.nix
./system/environment.nix
./system/filesystems.nix

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" ];
};
}