From 1d5aaffdbc821db1cf3f8ce37465347aa6185f8b Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Sun, 19 May 2024 19:23:37 +0200 Subject: [PATCH] Add nvidia in docker --- modules/docker.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/docker.nix b/modules/docker.nix index ec9522e..886f2a2 100644 --- a/modules/docker.nix +++ b/modules/docker.nix @@ -2,5 +2,6 @@ { virtualisation.docker.enable = true; + virtualisation.docker.enableNvidia = config.hardware.nvidia.modesetting.enable; users.users.florian.extraGroups = [ "docker" ]; }