summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2026-01-26 14:05:26 +0100
committeradikro <adikro@disroot.org>2026-01-26 14:05:26 +0100
commit7d21a315bb43c80764d80a5670bfefa556b4b3a8 (patch)
treee01e5669ae7ef9dc9b0262b911bf58c8efafefd8 /hosts
parent945cdcc5b2de50f77a0bdccca2c53267a117d4e2 (diff)
pendrive fix
Diffstat (limited to 'hosts')
-rw-r--r--hosts/pendrive/hardware-configuration.nix18
1 files changed, 18 insertions, 0 deletions
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;
+}