summaryrefslogtreecommitdiff
path: root/hosts/myouga/hardware.nix
blob: 74c09b04dceffe4ed722d82c37f7efe1baab9351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ pkgs, ... }:

{
  boot.initrd.kernelModules = [
    "virtio_blk"
    "virtio_scsi"
    "virtio_pci"
  ];

  boot.loader.grub = {
    enable = true;
    device = "/dev/vda";
    splashImage = null;
  };

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

  nixpkgs.hostPlatform = "x86_64-linux";
}