flake/hosts/aristotle/hardware-configuration.nix

20 lines
523 B
Nix
Raw Normal View History

{inputs, ...}: {
2023-12-18 06:20:44 +00:00
imports = [
inputs.nixpkgs.nixosModules.notDetected
2023-12-18 06:20:44 +00:00
inputs.nixos-hardware.nixosModules.lenovo-legion-y530-15ich
2024-03-26 14:24:51 +00:00
inputs.nixos-sensible.nixosModules.zram
2023-12-18 06:20:44 +00:00
];
2024-03-31 02:01:57 +00:00
hardware.nvidia.nvidiaSettings = false;
2023-12-18 06:20:44 +00:00
services.hdapsd.enable = false;
2024-06-15 18:25:07 +00:00
my.hardware = {
2023-12-18 06:20:44 +00:00
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";
}