summaryrefslogtreecommitdiff
path: root/hosts/omega-relay/hardware-configuration.nix
blob: 328d228e1d34cd81f93ae3aa4061a95b96833728 (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
# Do not modify this file!  It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations.  Please make changes
# to /etc/nixos/configuration.nix instead.
{ lib, modulesPath, ... }:

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

  boot.initrd.availableKernelModules = [
    "ahci"
    "xhci_pci"
    "virtio_pci"
    "sr_mod"
    "virtio_blk"
  ];
  boot.initrd.kernelModules = [ ];
  boot.kernelModules = [ "kvm-intel" ];
  boot.extraModulePackages = [ ];
  hosts.omega-relay.root_device = "/dev/vda";
  hosts.omega-relay.do_disko = true;
  addons.virtualisation.isTestVM = true;

  nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}