Add NVidia support to Docker

This commit is contained in:
Tibo De Peuter 2023-12-07 20:24:37 +01:00
parent 6264d45316
commit fd15c177e8

View file

@ -6,6 +6,9 @@ in {
options.sisyphus.virtualisation.docker.enable = lib.mkEnableOption "Docker"; options.sisyphus.virtualisation.docker.enable = lib.mkEnableOption "Docker";
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
virtualisation.docker.enable = true; virtualisation.docker = {
enable = true;
enableNvidia = true;
};
}; };
} }