2024-11-19 02:15:18 +01:00
|
|
|
{ config, lib, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
2024-12-20 23:50:15 +01:00
|
|
|
../../../common/cpu/intel
|
2024-12-23 02:15:58 +01:00
|
|
|
../../../common/gpu/intel
|
2024-11-19 02:15:18 +01:00
|
|
|
../../../common/gpu/nvidia/ada-lovelace
|
|
|
|
../../../common/gpu/nvidia/prime.nix
|
|
|
|
../../../common/pc/laptop
|
|
|
|
../../../common/pc/laptop/ssd
|
|
|
|
];
|
|
|
|
|
|
|
|
hardware = {
|
|
|
|
graphics = {
|
|
|
|
enable = lib.mkDefault true;
|
|
|
|
enable32Bit = lib.mkDefault true;
|
|
|
|
};
|
|
|
|
nvidia = {
|
|
|
|
prime = {
|
|
|
|
intelBusId = lib.mkDefault "PCI:0:2:0";
|
|
|
|
nvidiaBusId = lib.mkDefault "PCI:1:0:0";
|
|
|
|
};
|
|
|
|
powerManagement = {
|
2024-12-22 20:24:16 +01:00
|
|
|
enable = lib.mkDefault false; # Causes sleep issues. See README for more information
|
2024-12-21 02:51:07 +01:00
|
|
|
finegrained = lib.mkDefault false;
|
2024-11-19 02:15:18 +01:00
|
|
|
};
|
2024-12-22 20:24:16 +01:00
|
|
|
dynamicBoost.enable = true;
|
2024-11-19 02:15:18 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
services = {
|
|
|
|
fwupd.enable = lib.mkDefault true;
|
|
|
|
thermald.enable = lib.mkDefault true;
|
|
|
|
};
|
|
|
|
}
|