add compute1-vm

This commit is contained in:
müde 2026-09-12 20:53:03 +02:00
commit d6cf6c5a41
6 changed files with 74 additions and 8 deletions

View file

@ -0,0 +1,18 @@
{
microvm,
lib,
...
}:
{
imports = [ microvm.nixosModules.microvm ];
config = {
microvm.hypervisor = "qemu";
# microvm boots the kernel directly; there is no ESP to install a bootloader onto
boot.loader.systemd-boot.enable = lib.mkForce false;
# store optimisation is unsafe on microvm's virtiofs/block-backed store
nix.optimise.automatic = lib.mkForce false;
};
}