From 147b64853a7feb4ac6afc134a0621f0230b784d5 Mon Sep 17 00:00:00 2001 From: leon Date: Sat, 1 Oct 2022 21:12:35 +0100 Subject: [PATCH] add overlay option --- hosts/leon/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/leon/default.nix b/hosts/leon/default.nix index 7c0c730d..c0bcd05f 100644 --- a/hosts/leon/default.nix +++ b/hosts/leon/default.nix @@ -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;