diff options
author | pacien | 2022-11-19 18:35:58 +0100 |
---|---|---|
committer | pacien | 2022-11-19 18:35:58 +0100 |
commit | f41aea79933d46ed6f57f22a8f389608c4b22876 (patch) | |
tree | 0e5c00a7d0c8361b1e4c068da9828c3c0a843404 | |
parent | ab7a94e3ff0a6cad5965062224ff18a2f70498f9 (diff) | |
download | ldgallery-f41aea79933d46ed6f57f22a8f389608c4b22876.tar.gz |
flake/sandbox: increase allocated resources for viewer build
-rw-r--r-- | flake.nix | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -165,6 +165,10 @@ | |||
165 | patchQemu9p = true; | 165 | patchQemu9p = true; |
166 | tools = devTools; | 166 | tools = devTools; |
167 | config = { | 167 | config = { |
168 | # The viewer's build and devel server are resource-hungry. | ||
169 | virtualisation.cores = 2; | ||
170 | virtualisation.memorySize = 2 * 1024; | ||
171 | |||
168 | virtualisation.forwardPorts = [ | 172 | virtualisation.forwardPorts = [ |
169 | { from = "host"; host.port = 8085; guest.port = 8085; } # vue-cli | 173 | { from = "host"; host.port = 8085; guest.port = 8085; } # vue-cli |
170 | ]; | 174 | ]; |