You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
708 B

{ modulesPath, ... }:
{
imports = [
../common/optional/ephemeral-btrfs.nix
(modulesPath + "/profiles/qemu-guest.nix")
];
boot = {
initrd = {
availableKernelModules = [ "xhci_pci" "virtio_pci" "usbhid" ];
};
loader = {
systemd-boot = {
enable = true;
consoleMode = "max";
};
efi.canTouchEfiVariables = true;
};
# Enable nested virtualization
extraModprobeConfig = "options kvm nested=1";
};
fileSystems = {
"/boot" = {
device = "/dev/disk/by-label/ESP";
fsType = "vfat";
};
};
swapDevices = [{
device = "/swap/swapfile";
size = 8196;
}];
nixpkgs.hostPlatform.system = "aarch64-linux";
}