flake/nixos/hosts/Aristotle/hardware-configuration.nix

23 lines
518 B
Nix
Raw Normal View History

2023-12-18 06:20:44 +00:00
{
modulesPath,
inputs,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
inputs.nixos-hardware.nixosModules.lenovo-legion-y530-15ich
];
services.hdapsd.enable = false;
myFlake.hardware.components = {
audio.enable = true;
bluetooth.enable = true;
tpm.enable = true;
};
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid"];
boot.kernelModules = ["kvm-intel"];
nixpkgs.hostPlatform = "x86_64-linux";
2023-12-25 00:13:56 +00:00
system.stateVersion = "23.05";
2023-12-18 06:20:44 +00:00
}