flake/nixos/hosts/Aristotle/default.nix

21 lines
456 B
Nix
Raw Normal View History

{
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.kernelModules = ["kvm-intel"];
2023-12-17 10:16:39 +00:00
nixpkgs.hostPlatform = "x86_64-linux";
}