This commit is contained in:
mjallen18
2024-10-05 13:38:02 -05:00
parent ff880ce1e7
commit 61ab092530

View File

@@ -10,6 +10,7 @@ in
virtualisation.oci-containers.containers."${cfg.name}" = {
autoStart = cfg.autoStart;
image = cfg.image;
extraOptions = [ "--device=nvidia.com/gpu=0" ];
ports = [
"${cfg.httpPort}:80"
"${cfg.httpsPort}:443"