add overlay option

This commit is contained in:
Leon Vita 2022-10-01 21:12:35 +01:00
parent 4c275ff26e
commit 147b64853a
1 changed files with 7 additions and 0 deletions

View File

@ -40,6 +40,13 @@
autoNetSetup = true;
};
writableStoreOverlay = "/nix/.rw-store";
volumes = [ {
image = "nix-store-overlay.img";
mountPoint = config.microvm.writableStoreOverlay;
size = 3048;
} ];
networking = {
hostName = "leon";
firewall.enable = true;