Repository navigation
kernel: restore dm-integrity, Bluetooth LE, nftables, PSI and exFAT - #48
Merged
Merged
Conversation
#31 builds the kernel from ARM64 defconfig, the pinned asahi.config and the two fragments. The previous full configuration had these options and defconfig does not: - DM_INTEGRITY and the AF_ALG user APIs that cryptsetup uses, and BT_LE, UHID, BT_RFCOMM and BT_BNEP for the Bluetooth service the images enable (the same set as alarm-aurora #44); - nf_tables with x_tables compatibility, REJECT, pkttype and rpfilter: the NixOS firewall is on by default and nixpkgs' iptables is the nf_tables variant, so without them firewall.service cannot load its rules; listing rpfilter also keeps reverse-path filtering on; - PSI, which systemd-oomd (on by default in NixOS) needs; - EXFAT_FS for removable media. validate-config.py fails the build if Kconfig does not resolve any of them to the requested value. Assisted-by: Claude Opus 5.5
This was referenced Oct 31, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#31 builds the kernel from ARM64 defconfig, the pinned
asahi.config,kernel/common.configandkernel/nixos.config. alarm-aurora made the same change in its #30, and it lost dm-crypt and dm-integrity, which broke its encrypted-root initramfs builds (alarm-aurora #44). This PR is the NixOS check and fix, made before the cache and images are published.What changed between kernels
Compared with the kernel the previous cache carries (7.3.0, embedded config from its Image), the options below are unset at the new pin. Neither defconfig nor any fragment sets them, and Kconfig gives them no default.
DM_INTEGRITY,CRYPTO_USER_API_HASH/SKCIPHER/AEADDM_CRYPTis already innixos.config.BT_LE,UHID,BT_RFCOMM,BT_BNEPhardware.bluetooth.enableis on. bluez needs/dev/uhidfor HID-over-GATT keyboards and mice, and defconfig ships# CONFIG_BT_LE is not set. Same set as alarm-aurora #44.NF_TABLES(+ inet/ipv4/ipv6),NFT_COMPAT,NFT_CT,NFT_LOG,NFT_REJECT,NETFILTER_XT_MATCH_PKTTYPE,IP(6)_NF_TARGET_REJECT,IP(6)_NF_MATCH_RPFILTERiptablesis built withnftablesCompat = true, so its rules need nf_tables plus x_tables compatibility. Listing the rpfilter match innixos.config(the overlay'skernel.config) also keepscheckReversePathat its default, as the previous configuration did.PSIsystemd.oomd.enabledefaults to true, and systemd-oomd needs/proc/pressure.EXFAT_FSAll of them go in
kernel/nixos.config, which leaves the sharedcommon.configunchanged.validate-config.pyalready fails the kernel build if Kconfig does not resolve any requested value, so this PR's kernel job checks every line above.Not restored
The universal kernel still drops other options the previous full configuration had, for example WireGuard, ZRAM/ZSWAP, Landlock, HIDRAW, NTFS3/ISO9660/UDF and many HID and gamepad drivers. alarm-aurora #44 says the same for its kernel. Choosing which of those to bring back is a separate decision. This PR restores what the images use by default plus exFAT.
Testing
tests/test_kernel_config.pypasses.NFT_COMPAT, and the AF_ALG options only onNET.🤖 Generated with Claude Code