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

26 lines
611 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;
};
2023-12-25 08:56:59 +00:00
# √(1920² + 1080²) px ÷ 15.60 in ≃ 141.211998082 dpi
services.xserver.dpi = 141;
2023-12-18 06:20:44 +00:00
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
}