diff --git a/modules/system/hardware/nvidia/default.nix b/modules/system/hardware/nvidia/default.nix index d96ea8d..f58b698 100644 --- a/modules/system/hardware/nvidia/default.nix +++ b/modules/system/hardware/nvidia/default.nix @@ -20,6 +20,8 @@ in enable32Bit = true; }; + nvidia-container-toolkit.enable = true; + nvidia = { # Modesetting is required. modesetting.enable = true; diff --git a/modules/system/server/docker/default.nix b/modules/system/server/docker/default.nix index 317777b..dfdd13b 100644 --- a/modules/system/server/docker/default.nix +++ b/modules/system/server/docker/default.nix @@ -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" ];