From b187d9b3d283a039a04de5ffe3cf1e24d4e49a82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 3 May 2025 16:00:19 +0200 Subject: [PATCH] morph: speed up test by enabling `useNixStoreImage` --- checks/morph/flake-module.nix | 4 ++++ checks/morph/template/configuration.nix | 3 +++ 2 files changed, 7 insertions(+) diff --git a/checks/morph/flake-module.nix b/checks/morph/flake-module.nix index 8d591a9f0..84884e467 100644 --- a/checks/morph/flake-module.nix +++ b/checks/morph/flake-module.nix @@ -44,7 +44,11 @@ { environment.etc."install-closure".source = "${closureInfo}/store-paths"; system.extraDependencies = dependencies; + virtualisation.memorySize = 2048; + virtualisation.useNixStoreImage = true; + virtualisation.writableStore = true; + environment.systemPackages = [ self.packages.${pkgs.system}.clan-cli-full ]; }; }; diff --git a/checks/morph/template/configuration.nix b/checks/morph/template/configuration.nix index 133705497..66ffa4856 100644 --- a/checks/morph/template/configuration.nix +++ b/checks/morph/template/configuration.nix @@ -8,5 +8,8 @@ (modulesPath + "/profiles/minimal.nix") ]; + virtualisation.useNixStoreImage = true; + virtualisation.writableStore = true; + clan.core.enableRecommendedDefaults = false; }