feat: add docker with nvidia-containers support

This commit is contained in:
ryan4yin
2023-05-06 04:57:48 +08:00
parent 7619f7ca41
commit 8619d9a284
2 changed files with 13 additions and 5 deletions

View File

@@ -58,6 +58,13 @@
modesetting.enable = true;
};
hardware.opengl.driSupport32Bit = true;
virtualisation.docker = {
enable = true;
enableNvidia = true;
storageDriver = "btrfs";
};
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave