From 7d21a315bb43c80764d80a5670bfefa556b4b3a8 Mon Sep 17 00:00:00 2001 From: adikro Date: Mon, 26 Jan 2026 14:05:26 +0100 Subject: pendrive fix --- hosts/pendrive/hardware-configuration.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 hosts/pendrive/hardware-configuration.nix (limited to 'hosts/pendrive') diff --git a/hosts/pendrive/hardware-configuration.nix b/hosts/pendrive/hardware-configuration.nix new file mode 100644 index 0000000..67cc663 --- /dev/null +++ b/hosts/pendrive/hardware-configuration.nix @@ -0,0 +1,18 @@ +# 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 + "/installer/scan/not-detected.nix") + ]; + + boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "sr_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; +} -- cgit v1.3