diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2024-11-22 03:29:56 -0500 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2024-11-22 03:29:56 -0500 |
commit | 90854019fc940473a0ce4fff29c402e54841f704 (patch) | |
tree | b7eb2a97dbdbfe151ff77a23c1b54a2399dbe311 /common/nvidia.nix | |
parent | 3727e7bd79fe75ff18b1dc6af494dbda940e0971 (diff) |
Another day
Diffstat (limited to 'common/nvidia.nix')
-rw-r--r-- | common/nvidia.nix | 6 |
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; +} |