mirror of
https://git.mediani.de/mirrors_public/oddlama_nixos-extra-modules.git
synced 2025-10-10 22:10:38 +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: {
|
guestName: guestCfg: {
|
||||||
config,
|
|
||||||
inputs,
|
inputs,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit
|
inherit
|
||||||
|
@ -34,6 +32,9 @@ in {
|
||||||
|
|
||||||
# Give them some juice by default
|
# Give them some juice by default
|
||||||
mem = mkDefault (1024 + 2048);
|
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
|
# Add a writable store overlay, but since this is always ephemeral
|
||||||
# disable any store optimization from nix.
|
# disable any store optimization from nix.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue