Skip to content

Commit

Permalink
fix wsl nivida docker
Browse files Browse the repository at this point in the history
  • Loading branch information
yomaq committed Feb 18, 2025
1 parent ed22cf6 commit f3dca80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/hosts/nvidia/nixos.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ in
enable = true;
mount-nvidia-executables = lib.mkIf cfg.wsl false;
};
virtualisation.docker = lib.mkIf cfg.wsl {
daemon.settings.features.cdi = true;
daemon.settings.cdi-spec-dirs = ["/etc/cdi"];
};
})
];
}

0 comments on commit f3dca80

Please sign in to comment.