mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Hardware/Intel] Add CPU config
This commit is contained in:
parent
6fd5c52389
commit
284dcd53e0
1 changed files with 11 additions and 0 deletions
11
hardware/intel/cpu.nix
Normal file
11
hardware/intel/cpu.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{config, pkgs, lib, ...}:
|
||||
with lib;
|
||||
let
|
||||
generalCfg = config.aviallon.general;
|
||||
in {
|
||||
config = mkIf (generalCfg.cpuVendor == "intel") {
|
||||
aviallon.boot.cmdline = {
|
||||
"intel_pstate" = "passive";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue