diff --git a/apple/macbook-air/4/default.nix b/apple/macbook-air/4/default.nix index 146289d..181a099 100644 --- a/apple/macbook-air/4/default.nix +++ b/apple/macbook-air/4/default.nix @@ -1,7 +1,10 @@ { lib, ... }: { - imports = [ ../. ]; + imports = [ + ../. + ../../../common/cpu/intel/sandy-bridge + ]; boot.kernelParams = [ "acpi_backlight=vendor" diff --git a/common/cpu/intel/sandy-bridge/default.nix b/common/cpu/intel/sandy-bridge/default.nix new file mode 100644 index 0000000..682815c --- /dev/null +++ b/common/cpu/intel/sandy-bridge/default.nix @@ -0,0 +1,9 @@ +{ + imports = [ ../. ]; + + # Enables RC6, RC6p and RC6pp. + # Last two are only available on Sandy Bridge CPUs (circa 2011). + boot.kernelParams = [ + "i915.enable_rc6=7" + ]; +}