Move to kernel 6.1!

This commit is contained in:
Natsu Kagami 2022-11-24 16:35:12 +01:00
parent cfd1f980a4
commit dd270a0de0
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
2 changed files with 44 additions and 44 deletions

View file

@ -22,7 +22,7 @@
# Asahi kernel configuration
hardware.asahi.peripheralFirmwareDirectory = ./firmware;
hardware.asahi.use4KPages = true;
hardware.asahi.use4KPages = false;
# Power Management
services.upower = {
@ -220,16 +220,16 @@
# Power Management
powerManagement = {
enable = true;
powerDownCommands = ''
/run/current-system/sw/bin/rmmod brcmfmac # Disable wifi
/run/current-system/sw/bin/rmmod hci_bcm4377 # Disable bluetooth
'';
resumeCommands = ''
/run/current-system/sw/bin/modprobe brcmfmac # Enable wifi
/run/current-system/sw/bin/modprobe hci_bcm4377 # Enable bluetooth
/run/current-system/sw/bin/systemctl restart iwd
/run/current-system/sw/bin/systemctl restart bluetooth
'';
# powerDownCommands = ''
# /run/current-system/sw/bin/rmmod brcmfmac # Disable wifi
# /run/current-system/sw/bin/rmmod hci_bcm4377 # Disable bluetooth
# '';
# resumeCommands = ''
# /run/current-system/sw/bin/modprobe brcmfmac # Enable wifi
# /run/current-system/sw/bin/modprobe hci_bcm4377 # Enable bluetooth
# /run/current-system/sw/bin/systemctl restart iwd
# /run/current-system/sw/bin/systemctl restart bluetooth
# '';
};
# Open ports in the firewall.