summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2022-10-17 11:35:02 +0200
committerAlan Pearce2022-10-17 11:35:02 +0200
commite9088e6214fc7133bd841533b15f7097e491528e (patch)
treee550ca03f9a2d601264c8e8982e77f5d493d47d6 /system
parentbcbdaf6b4784d552ce5e9875e6e06005d54f980d (diff)
downloadnixfiles-e9088e6214fc7133bd841533b15f7097e491528e.tar.lz
nixfiles-e9088e6214fc7133bd841533b15f7097e491528e.tar.zst
nixfiles-e9088e6214fc7133bd841533b15f7097e491528e.zip
nvidia: enable modesetting
Diffstat (limited to 'system')
-rw-r--r--system/settings/hardware/nvidia-gpu.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/settings/hardware/nvidia-gpu.nix b/system/settings/hardware/nvidia-gpu.nix
index 4024f069..af2afdcd 100644
--- a/system/settings/hardware/nvidia-gpu.nix
+++ b/system/settings/hardware/nvidia-gpu.nix
@@ -14,6 +14,7 @@ in {
 
   environment.systemPackages = [nvidia_x11];
   hardware.nvidia = {
+    modesetting.enable = true;
     powerManagement = {
       enable = true;
     };