Add xserver to enable nvidia driver.
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
./hardware-configuration.nix
|
||||
./impermanence.nix
|
||||
./programs/streamcontroller.nix
|
||||
./services/xserver.nix
|
||||
./system/bootloader.nix
|
||||
./system/environment.nix
|
||||
./system/filesystems.nix
|
||||
|
||||
13
nodes/hosts/nixy/services/xserver.nix
Normal file
13
nodes/hosts/nixy/services/xserver.nix
Normal 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" ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user