summaryrefslogtreecommitdiff
path: root/hosts/omega-relay/hardware-configuration.nix
blob: 247b382809528d12b6ad13b982369d8224d15548 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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.
{ config, lib, pkgs, 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";
}