summaryrefslogtreecommitdiff
path: root/modules/nvidia.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nvidia.nix')
-rw-r--r--modules/nvidia.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/nvidia.nix b/modules/nvidia.nix
new file mode 100644
index 00000000..2f7a00aa
--- /dev/null
+++ b/modules/nvidia.nix
@@ -0,0 +1,10 @@
1{ lib, config, ... }:
2
3{
4 config = {
5 hardware.nvidia = {
6 open = lib.mkDefault (!(lib.versionOlder config.hardware.nvidia.package.version "560"));
7 # gsp.enable = lib.mkDefault (config.hardware.nvidia.open || lib.versionAtLeast config.hardware.nvidia.package.version "555");
8 };
9 };
10}