mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 16:57:14 +08:00
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.
33 lines
469 B
Nix
33 lines
469 B
Nix
{ pkgs, lib, ... }:
|
|
|
|
{
|
|
imports = [
|
|
../../../common/pc/laptop
|
|
../../../common/pc/ssd
|
|
|
|
../../../common/cpu/intel
|
|
|
|
../../../common/gpu/nvidia/disable.nix
|
|
];
|
|
|
|
boot = {
|
|
kernelParams = [
|
|
"mem_sleep_default=deep"
|
|
"i915.fastboot=1"
|
|
];
|
|
kernelModules = [
|
|
"coretemp"
|
|
];
|
|
};
|
|
|
|
powerManagement = {
|
|
powertop.enable = lib.mkDefault true;
|
|
};
|
|
|
|
services = {
|
|
fwupd = {
|
|
enable = lib.mkDefault true;
|
|
};
|
|
};
|
|
}
|