aboutsummaryrefslogtreecommitdiff
path: root/modules/hetzner/default.nix
blob: ffef1ca85fd04d6d14e46118d400c61ccf18ed5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{ config, lib, pkgs, modulesPath, ... }:

{
  imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];

  boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" ];
  boot.initrd.kernelModules = [ "nvme" ];
  boot.loader.grub.device = "/dev/sda";

  fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; };
  fileSystems."/boot" = { device = "/dev/sda15"; fsType = "vfat"; };
}