Files
nixos/modules/hosts/t480/_hardware.nix
T

28 lines
1.1 KiB
Nix

# GENERATED FILE — do not edit by hand.
#
# Regenerate on the host itself with: nix run .#sync-hardware
#
# Produced by `nixos-generate-config --show-hardware-config --no-filesystems`.
# The --no-filesystems flag is deliberate: fileSystems and swapDevices are
# declared by hand in ./disks.nix, so regenerating this file can never clobber
# them or emit duplicates for whatever happened to be mounted at the time.
#
# Leading underscore keeps import-tree from auto-importing this as a
# flake-parts module (its filter drops any path containing "/_"); it is
# imported explicitly from ./default.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}