# Hardware configuration for Tart VM (Apple Virtualization.framework) { config, lib, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; boot.initrd.availableKernelModules = [ "xhci_pci" "virtio_pci" "virtio_blk" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; # Root filesystem (will be /dev/vda1 after partitioning) fileSystems."/" = { device = "/dev/disk/by-label/nixos"; fsType = "ext4"; }; # EFI boot partition fileSystems."/boot" = { device = "/dev/disk/by-label/boot"; fsType = "vfat"; options = [ "fmask=0077" "dmask=0077" ]; }; swapDevices = [ ]; nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux"; }