Skip to content

Commit

Permalink
enable virtualisation.docker.enableNvidia
Browse files Browse the repository at this point in the history
  • Loading branch information
MayNiklas committed Nov 3, 2024
1 parent 2a09038 commit 82c0157
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/nvidia/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ in {

};

# currently still needed for nvidia-container-toolkit
virtualisation.docker.enableNvidia =
mkIf config.virtualisation.docker.enable true;

environment.systemPackages = with pkgs; [ nvtop ];

nixpkgs.config = {
Expand Down

0 comments on commit 82c0157

Please sign in to comment.