2023-10-07 08:19:15 +00:00
|
|
|
{
|
2023-11-04 10:14:42 +00:00
|
|
|
lib,
|
|
|
|
modulesPath,
|
2023-12-16 08:32:13 +00:00
|
|
|
inputs,
|
2023-11-04 10:14:42 +00:00
|
|
|
...
|
|
|
|
}: {
|
2023-10-07 08:19:15 +00:00
|
|
|
imports = [
|
2023-12-16 08:32:13 +00:00
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
inputs.nixos-hardware.nixosModules.lenovo-legion-y530-15ich
|
2023-10-07 08:19:15 +00:00
|
|
|
];
|
|
|
|
|
2023-12-16 08:32:13 +00:00
|
|
|
myFlake.hardware.components.misc = {
|
|
|
|
audio.enable = true;
|
|
|
|
bluetooth.enable = true;
|
|
|
|
tpm.enable = true;
|
2023-11-17 07:17:12 +00:00
|
|
|
};
|
|
|
|
|
2023-11-04 10:14:42 +00:00
|
|
|
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-10-07 08:19:15 +00:00
|
|
|
|
2023-12-16 08:32:13 +00:00
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
2023-10-07 08:19:15 +00:00
|
|
|
}
|