aboutsummaryrefslogtreecommitdiff
path: root/modules/hosts/sachiel/hardware-configuration.nix
blob: 4768a032c45b0333fdb1cad057166031f7a97a47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
  flake.modules.nixos.sachiel = {
    boot.loader.grub = {
      efiSupport = true;
      efiInstallAsRemovable = true;
      device = "nodev";
    };
    fileSystems."/boot" = {
      device = "/dev/disk/by-uuid/4E07-7ABB";
      fsType = "vfat";
    };
    boot.initrd.availableKernelModules = [
      "ata_piix"
      "uhci_hcd"
      "xen_blkfront"
      "vmw_pvscsi"
      "virtio_net"
      "virtio_pci"
      "virtio_mmio"
      "virtio_blk"
      "virtio_scsi"
      "9p"
      "9pnet_virtio"
    ];
    boot.initrd.kernelModules = [
      "nvme"
      "virtio_balloon"
      "virtio_console"
      "virtio_rng"
      "virtio_gpu"
    ];
    fileSystems."/" = {
      device = "/dev/vda1";
      fsType = "ext4";
    };
  };
}