mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-16 05:21:01 +01:00
fix: virtualisation.docker.enableNvidia is deprecated
This commit is contained in:
1 parent
cf34ea047c
commit
a0372eb24c
1 file changed
+1
-1
@@ -39,11 +39,11 @@ in {
|
||||
modesetting.enable = true;
|
||||
powerManagement.enable = true;
|
||||
};
|
||||
virtualisation.docker.enableNvidia = true; # for nvidia-docker
|
||||
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
# needed by nvidia-docker
|
||||
nvidia-container-toolkit.enable = true;
|
||||
enable32Bit = true;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user