apple/t2: update to kernel 6.7.7

This commit is contained in:
Marcus Wågberg
2024-04-12 21:53:47 +02:00
committed by mergify[bot]
parent 504ebfbffb
commit 17ad09c30c
3 changed files with 7 additions and 43 deletions

View File

@@ -74,15 +74,6 @@ in
# Make sure post-resume.service exists
powerManagement.enable = true;
systemd.services.fix-keyboard-backlight-and-touchbar = {
path = [ pkgs.kmod ];
serviceConfig.ExecStart = ''${pkgs.systemd}/bin/systemd-inhibit --what=sleep --why="fixing keyboard backlight and touchbar must finish before sleep" --mode=delay ${./fix-keyboard-backlight-and-touchbar.sh}'';
serviceConfig.Type = "oneshot";
description = "reload touchbar driver and restart upower";
wantedBy = [ "display-manager.service" "post-resume.target" ];
after = [ "post-resume.target" ];
};
# Activation script to install apple-set-os-loader in order to unlock the iGPU
system.activationScripts.appleSetOsLoader = lib.optionalString t2Cfg.enableAppleSetOsLoader ''
if [[ -e /boot/efi/efi/boot/bootx64_original.efi ]]; then