diff --git a/hosts/Infini-LAPTOP/hardware-configuration.nix b/hosts/Infini-LAPTOP/hardware-configuration.nix new file mode 100644 index 0000000..0b4796c --- /dev/null +++ b/hosts/Infini-LAPTOP/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 = [ "nvme" "xhci_pci" "ahci" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-amd" ]; + boot.extraModulePackages = [ ]; + + powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand"; +}