Merge remote-tracking branch 'upstream/master' into nixfmt

This commit is contained in:
Andre committed 2025-06-20 10:18:49 -04:00
commit 700dbb6c69
11 files changed
+420 -347

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
{
lib,
config,
...
}: {
imports = [
../../../common/cpu/intel
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/ampere
../../../common/pc/laptop
../../../common/pc/ssd
../../../common/hidpi.nix
];
boot.extraModulePackages = [config.boot.kernelPackages.lenovo-legion-module];
hardware = {
nvidia = {
powerManagement.enable = lib.mkDefault true;
prime = {
intelBusId = "PCI:00:02:0";
nvidiaBusId = "PCI:01:00:0";
};
};
};
services.thermald.enable = lib.mkDefault true;
services.xserver.dpi = 189;
}