Add nvidia in docker
This commit is contained in:
parent
1bec301c7a
commit
1d5aaffdbc
1 changed files with 1 additions and 0 deletions
|
@ -2,5 +2,6 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
|
virtualisation.docker.enableNvidia = config.hardware.nvidia.modesetting.enable;
|
||||||
users.users.florian.extraGroups = [ "docker" ];
|
users.users.florian.extraGroups = [ "docker" ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue