summaryrefslogtreecommitdiff
path: root/common/nvidia.nix
diff options
context:
space:
mode:
Diffstat (limited to 'common/nvidia.nix')
-rw-r--r--common/nvidia.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/nvidia.nix b/common/nvidia.nix
new file mode 100644
index 0000000..df60136
--- /dev/null
+++ b/common/nvidia.nix
@@ -0,0 +1,6 @@
+{hardware, ...}:
+
+{
+ # Import this config if gpu passthrough in docker containers
+ hardware.nvidia-container-toolkit.enable = true;
+}