aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpacien2022-11-19 18:35:58 +0100
committerpacien2022-11-19 18:35:58 +0100
commitf41aea79933d46ed6f57f22a8f389608c4b22876 (patch)
tree0e5c00a7d0c8361b1e4c068da9828c3c0a843404
parentab7a94e3ff0a6cad5965062224ff18a2f70498f9 (diff)
downloadldgallery-f41aea79933d46ed6f57f22a8f389608c4b22876.tar.gz
flake/sandbox: increase allocated resources for viewer build
-rw-r--r--flake.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 00fb44e..8a5fb99 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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 ];