mirror of
https://github.com/oddlama/nixos-extra-modules.git
synced 2025-10-10 22:00:39 +02:00
chore: disable microvm guest optimizations which causes frequent qemu rebuilds and doesn't actually optimize a lot
This commit is contained in:
parent
0de9c0751b
commit
90c0b018de
1 changed files with 3 additions and 2 deletions
|
@ -1,8 +1,6 @@
|
|||
guestName: guestCfg: {
|
||||
config,
|
||||
inputs,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit
|
||||
|
@ -34,6 +32,9 @@ in {
|
|||
|
||||
# Give them some juice by default
|
||||
mem = mkDefault (1024 + 2048);
|
||||
# This causes QEMU rebuilds which would remove 200MB from the closure but
|
||||
# recompiling QEMU every deploy is worse.
|
||||
optimize.enable = false;
|
||||
|
||||
# Add a writable store overlay, but since this is always ephemeral
|
||||
# disable any store optimization from nix.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue