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:
parent
1519fb0acb
commit
851a9cecac
2 changed files with 2 additions and 1 deletions
|
@ -20,6 +20,8 @@ in
|
||||||
enable32Bit = true;
|
enable32Bit = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nvidia-container-toolkit.enable = true;
|
||||||
|
|
||||||
nvidia = {
|
nvidia = {
|
||||||
# Modesetting is required.
|
# Modesetting is required.
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
|
|
|
@ -13,7 +13,6 @@ in
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
virtualisation.docker = {
|
virtualisation.docker = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableNvidia = config.modules.system.hardware.nvidia.enable;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.florian.extraGroups = [ "docker" ];
|
users.users.florian.extraGroups = [ "docker" ];
|
||||||
|
|
Loading…
Reference in a new issue