aboutsummaryrefslogtreecommitdiff
path: root/modules/vultr/default.nix
blob: 04ea21c402adcee4934a1c9a6140a90f36f3aa67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ 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" ];

  networking = {
    dhcpcd.IPv6rs = true;
  };

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