Files
nixos-hardware/asus/zenbook/ux481/shared.nix
Peter Bittner 7d9552ef6b Replace symlink references by real path and delete symlink
The common/pc/laptop/ssd folder was apparently moved a level up and was
replaced by a symlink to keep things working. We can consolidate this now.
2025-05-05 11:17:15 +02:00

26 lines
556 B
Nix

{
config,
lib,
...
}:
{
imports = [
../../../common/cpu/intel/comet-lake/cpu-only.nix
../../../common/pc/laptop
../../../common/pc/ssd
../../battery.nix
];
boot.kernelParams = [
# These options are needed for suspend to work,
# otherwise the nvme will be mounted read-only on resume
"pcie_aspm=off"
"pcie_port_pm=off"
"nvme_core.default_ps_max_latency_us=0"
"mem_sleep_default=deep"
];
services.thermald.enable = lib.mkDefault true;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}