mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 17:57:50 +00:00
11 lines
215 B
Nix
11 lines
215 B
Nix
{config, pkgs, lib, ...}:
|
|
with lib;
|
|
let
|
|
generalCfg = config.aviallon.general;
|
|
in {
|
|
config = mkIf (generalCfg.cpuVendor == "intel") {
|
|
aviallon.boot.cmdline = {
|
|
"intel_pstate" = "passive";
|
|
};
|
|
};
|
|
}
|