nixfiles/hosts/hetzner-vm/hardware.nix

12 lines
277 B
Nix
Raw Normal View History

2022-11-02 11:32:03 +00:00
{ modulesPath, ... }: {
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
2022-11-02 11:32:03 +00:00
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda";
boot.initrd.kernelModules = [ "nvme" ];
fileSystems."/" = {
device = "/dev/sda1";
fsType = "ext4";
};
}