all repos — char/flake @ 70c73b611b5c9189c28450ff948760ab3732fc80

nixos flake

profiles/onyx/hardware-configuration.nix (view raw)

 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 + "/installer/scan/not-detected.nix")
 9    ];
10
11  boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usbhid" "usb_storage" "sd_mod" ];
12  boot.initrd.kernelModules = [ ];
13  boot.kernelModules = [ "kvm-amd" ];
14  boot.extraModulePackages = [ ];
15
16  nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
17  hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
18}