17 lines
No EOL
424 B
Nix
17 lines
No EOL
424 B
Nix
{ modulesPath, ... }:
|
|
|
|
{
|
|
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
|
|
|
boot = {
|
|
loader.grub.device = "/dev/vda";
|
|
initrd = {
|
|
kernelModules = [ "nvme" ];
|
|
availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
|
|
};
|
|
tmp.cleanOnBoot = true;
|
|
};
|
|
|
|
fileSystems."/" = { device = "/dev/mapper/debian12--vg-root"; fsType = "ext4"; };
|
|
swapDevices = [ { device = "/dev/dm-1"; } ];
|
|
} |