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

25 lines
611 B
Nix

{
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;
};
# √(1920² + 1080²) px ÷ 15.60 in ≃ 141.211998082 dpi
services.xserver.dpi = 141;
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid"];
boot.kernelModules = ["kvm-intel"];
nixpkgs.hostPlatform = "x86_64-linux";
system.stateVersion = "23.05";
}