aboutsummaryrefslogtreecommitdiff
path: root/modules/vultr/default.nix
blob: 3104e0fa17504a4bbddc0e78b2f7f7387b8f0240 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ config, lib, pkgs, modulesPath, ... }:

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

  boot.initrd.availableKernelModules =
    [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];

  boot.loader.grub.devices = [ "/dev/vda" ];

  fileSystems = {
    "/" = {
      device = "/dev/vda1";
      autoResize = true;
      fsType = "ext4";
    };
  };
}