flake/nixos/hardware/lenovo/legion/81fw/default.nix

25 lines
545 B
Nix
Raw Normal View History

{
lib,
modulesPath,
2023-12-16 08:32:13 +00:00
inputs,
...
}: {
imports = [
2023-12-16 08:32:13 +00:00
(modulesPath + "/installer/scan/not-detected.nix")
inputs.nixos-hardware.nixosModules.lenovo-legion-y530-15ich
];
2023-12-16 08:32:13 +00:00
myFlake.hardware.components.misc = {
audio.enable = true;
bluetooth.enable = true;
tpm.enable = true;
};
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid"];
2023-12-16 08:32:13 +00:00
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = [];
2023-12-16 08:32:13 +00:00
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}