fix(deprecated) : You have set virtualisation.docker.enableNvidia. This option is deprecated, please set hardware.nvidia-container-toolkit.enable instead

This commit is contained in:
Florian RICHER 2024-08-15 16:24:09 +02:00
parent 1519fb0acb
commit 851a9cecac
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
2 changed files with 2 additions and 1 deletions

View file

@ -20,6 +20,8 @@ in
enable32Bit = true;
};
nvidia-container-toolkit.enable = true;
nvidia = {
# Modesetting is required.
modesetting.enable = true;

View file

@ -13,7 +13,6 @@ in
config = mkIf cfg.enable {
virtualisation.docker = {
enable = true;
enableNvidia = config.modules.system.hardware.nvidia.enable;
};
users.users.florian.extraGroups = [ "docker" ];