feat: add ephvm host

This commit is contained in:
2026-03-07 22:10:25 +01:00
parent aaee9558a7
commit 53ddba4457
4 changed files with 116 additions and 4 deletions

View File

@@ -0,0 +1,20 @@
{
lib,
pkgs,
modulesPath,
...
}:
{
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
fileSystems."/" = {
device = "/dev/disk/by-label/nixos";
autoResize = true;
fsType = "ext4";
};
# image.modules (disk-image.nix) overrides boot loader per variant
boot.loader.grub.device = lib.mkDefault "/dev/vda";
}