- Created common.nix for various configs - Created theme.nix for theme related configs - Moved some code to more logical files - Moved some standalone files into nix multiline strings, in order to inject data
14 lines
285 B
Nix
14 lines
285 B
Nix
{
|
|
hardware.nvidia = {
|
|
# Required
|
|
modesetting.enable = true;
|
|
# Use closed-source drivers
|
|
open = false;
|
|
# Enable the Nvidia settings menu
|
|
nvidiaSettings = true;
|
|
};
|
|
|
|
# Load Nvidia driver for Xorg and Wayland
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
|
}
|