universe/hosts/Infini-SD/hardware-configuration.nix
2024-02-27 03:04:12 -05:00

18 lines
592 B
Nix

{ config, lib, pkgs, modulesPath, ... }:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "ahci" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ "usb_storage" ];
boot.kernelModules = [ "kvm-amd" "kvm-intel" ];
boot.extraModulePackages = [ ];
boot.kernelParams = [ "boot.shell_on_fail" ];
boot.supportedFilesystems = [ "btrfs" "zfs" ];
boot.zfs.forceImportRoot = false;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
info.model = "Portable Installation";
}