nixos-dots

nixos dots
git clone git://popovic.xyz/nixos-dots.git
Log | Files | Refs

hardware-vm.nix (573B)


      1 # Do not modify this file!  It was generated by ‘nixos-generate-config’
      2 # and may be overwritten by future invocations.  Please make changes
      3 # to /etc/nixos/configuration.nix instead.
      4 { config, lib, pkgs, modulesPath, ... }:
      5 
      6 {
      7   imports =
      8     [ (modulesPath + "/profiles/qemu-guest.nix") ];
      9 
     10   boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "virtio_scsi" "sr_mod" "virtio_blk" ];
     11   boot.initrd.kernelModules = [ ];
     12   boot.kernelModules = [ "kvm-amd" ];
     13   boot.extraModulePackages = [ ];
     14 
     15   nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
     16 }