diff options
Diffstat (limited to 'modules/profiles/nvidia/default.nix')
-rw-r--r-- | modules/profiles/nvidia/default.nix | 8 |
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" ]; } |