diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/settings/hardware/nvidia-gpu.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/system/settings/hardware/nvidia-gpu.nix b/system/settings/hardware/nvidia-gpu.nix index e1c50d2e..0195dbd3 100644 --- a/system/settings/hardware/nvidia-gpu.nix +++ b/system/settings/hardware/nvidia-gpu.nix @@ -5,12 +5,15 @@ }: { services.xserver.videoDrivers = [ "nvidia" ]; + boot.initrd.kernelModules = [ "nvidia" ]; + boot.extraModulePackages = [ config.boot.kernelPackages.nvidia_x11 ]; hardware.nvidia = { modesetting.enable = true; powerManagement = { enable = true; }; + package = config.boot.kernelPackages.nvidiaPackages.stable; }; nixpkgs.config.allowUnfree = true; @@ -19,4 +22,5 @@ }; services.displayManager.sddm.wayland.enable = false; + services.displayManager.defaultSession = "plasmax11"; } |