aboutsummaryrefslogtreecommitdiff
path: root/modules/profiles/nvidia
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profiles/nvidia')
-rw-r--r--modules/profiles/nvidia/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/profiles/nvidia/default.nix b/modules/profiles/nvidia/default.nix
index 50e0f6f..30c7d0c 100644
--- a/modules/profiles/nvidia/default.nix
+++ b/modules/profiles/nvidia/default.nix
@@ -1,5 +1,9 @@
-{ config, ... }:
{
+ config,
+ ...
+}:
+{
+ services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia = {
package = config.boot.kernelPackages.nvidiaPackages.stable;
open = false;
@@ -11,6 +15,4 @@
finegrained = false;
};
};
-
- services.xserver.videoDrivers = [ "nvidia" ];
}