updates and formatting
This commit is contained in:
@@ -11,7 +11,11 @@ in
|
||||
virtualisation.oci-containers.containers.${cfg.name} = {
|
||||
autoStart = true;
|
||||
image = cfg.image;
|
||||
extraOptions = [ "--device=nvidia.com/gpu=0" "--network=bridge" "--add-host=host.docker.internal:host-gateway" ];
|
||||
extraOptions = [
|
||||
"--device=nvidia.com/gpu=0"
|
||||
"--network=bridge"
|
||||
"--add-host=host.docker.internal:host-gateway"
|
||||
];
|
||||
volumes = [ "${cfg.configPath}:/app/data" ];
|
||||
ports = [ "${cfg.port}:3000" ];
|
||||
environment = {
|
||||
|
||||
Reference in New Issue
Block a user