This commit is contained in:
2026-03-02 16:35:14 +01:00
parent d182532b34
commit 6c8e7ec373
17 changed files with 703 additions and 52 deletions

View File

@@ -0,0 +1,21 @@
{
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
# x86_64: qemu (grub), aarch64: qemu-efi (systemd-boot)
boot.loader.grub.device = lib.mkDefault "/dev/vda";
}