dotfiles/hardware/hosts/sail.nix

17 lines
336 B
Nix
Raw Normal View History

2022-07-30 16:19:49 +00:00
{ modulesPath, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot = {
loader.grub.device = "/dev/sda";
initrd = {
availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" ];
kernelModules = [ "nvme" ];
};
};
fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; };
}