leon: fix

This commit is contained in:
Astro 2022-10-01 22:17:36 +02:00
parent 1c21cad236
commit 36dbd94d0e
1 changed files with 7 additions and 8 deletions

View File

@ -27,11 +27,17 @@
#--------------------------------------------------------------------------------
{ pkgs, ... }:
{ config, pkgs, ... }:
{
microvm = {
mem = 2048;
writableStoreOverlay = "/nix/.rw-store";
volumes = [ {
image = "nix-store-overlay.img";
mountPoint = config.microvm.writableStoreOverlay;
size = 3048;
} ];
};
c3d2.deployment = {
@ -40,13 +46,6 @@
autoNetSetup = true;
};
writableStoreOverlay = "/nix/.rw-store";
volumes = [ {
image = "nix-store-overlay.img";
mountPoint = config.microvm.writableStoreOverlay;
size = 3048;
} ];
networking = {
hostName = "leon";
firewall.enable = true;