mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-10 04:59:40 +01:00
34 lines
506 B
Nix
34 lines
506 B
Nix
|
{ pkgs, lib, ... }:
|
||
|
|
||
|
{
|
||
|
imports = [
|
||
|
../../../common/pc/laptop
|
||
|
../../../common/pc/laptop/ssd
|
||
|
|
||
|
../../../common/cpu/intel
|
||
|
|
||
|
../../../common/gpu/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;
|
||
|
};
|
||
|
};
|
||
|
}
|