2023-10-07 08:19:15 +00:00
|
|
|
{
|
2023-11-04 10:14:42 +00:00
|
|
|
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-17 12:20:38 +00:00
|
|
|
services.hdapsd.enable = false;
|
2023-12-17 12:43:24 +00:00
|
|
|
myFlake.hardware.components = {
|
2023-12-16 08:32:13 +00:00
|
|
|
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.kernelModules = ["kvm-intel"];
|
2023-12-17 10:16:39 +00:00
|
|
|
nixpkgs.hostPlatform = "x86_64-linux";
|
2023-10-07 08:19:15 +00:00
|
|
|
}
|