# Hanging on boot after update unstable nixpkgs last week

**URL:** https://discourse.nixos.org/t/hanging-on-boot-after-update-unstable-nixpkgs-last-week/80907
**Category:** Help
**Created:** [November 3, 2026, 8:47am UTC](https://discourse.nixos.org/t/hanging-on-boot-after-update-unstable-nixpkgs-last-week/80907 "2026-11-03T08:47:32Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![hack4code](https://discourse.nixos.org/user_avatar/discourse.nixos.org/hack4code/32/33484_2.png) [@hack4code](https://discourse.nixos.org/u/hack4code)
#### Post date: [November 3, 2026, 8:47am UTC](https://discourse.nixos.org/t/hanging-on-boot-after-update-unstable-nixpkgs-last-week/80907/1 "2026-11-03T08:47:32Z")

</div>

Last week after updating nixpkgs-unstable, my system hangs after systemd-boot entry menu, no messages on the console, and I use a custom latest 7.3.1 kernel, The same kernel config workd with nixpkgs-26.05. How can I debug this problem, I enable systemd debug on the kernel boot parameter, but It doesn’t work, still empty log message after the systemd-boot entry menu.

my kernel config is:

```auto
    boot.kernelPackages = pkgs.linuxPackages_custom { ... }

```

fixed, after disable follow 3 options on kernel config:

1: Basic module for enforcing kernel lockdown

2: Module signature verification

3: Trim unused exported kernel symbols

Thanks all!

---

<div class="post-metadata">

### Author: ![stefan-hacks](https://discourse.nixos.org/user_avatar/discourse.nixos.org/stefan-hacks/32/38226_2.png) [@stefan-hacks](https://discourse.nixos.org/u/stefan-hacks)
#### Post date: [November 3, 2026, 8:54am UTC](https://discourse.nixos.org/t/hanging-on-boot-after-update-unstable-nixpkgs-last-week/80907/2 "2026-11-03T08:54:12Z")

</div>

Rollback to an earlier working gen and then If you have a public repo share the url

And git will help us identify the issue. What was the git log number? Of the faulty commit.

---

<div class="post-metadata">

### Author: ![waffle8946](https://discourse.nixos.org/user_avatar/discourse.nixos.org/waffle8946/32/27221_2.png) [@waffle8946](https://discourse.nixos.org/u/waffle8946)
#### Post date: [November 3, 2026, 2:28pm UTC](https://discourse.nixos.org/t/hanging-on-boot-after-update-unstable-nixpkgs-last-week/80907/3 "2026-11-03T14:28:56Z")

</div>

> [@hack4code](#):
>
> custom latest 7.3.1 kernel

That’d be the issue. Nixpkgs silently introduced a breaking change (signing requirement) in [linux: generate deterministic module signatures and certificates by emilazy · Pull Request #571181 · NixOS/nixpkgs · GitHub](https://github.com/NixOS/nixpkgs/pull/571181), system won’t boot and nothing gets written to the system journal because the system didn’t boot.

You basically need to add something like this to your config:

> <https://github.com/NixOS/nixpkgs/blob/b92a6ff061c52668e56b2189c9cf1089ef5a0654/nixos/tests/kernel-module-verification.nix#L80-L96>

Also, if you use custom modules, keep an eye out for [linuxPackages: add kernelModuleInstallHook, apply hook to appropriate packages by B4dM4n · Pull Request #578004 · NixOS/nixpkgs · GitHub](https://github.com/NixOS/nixpkgs/pull/578004) getting merged.

---

<div class="post-metadata">

### Author: ![emily](https://discourse.nixos.org/user_avatar/discourse.nixos.org/emily/32/1628_2.png) [@emily](https://discourse.nixos.org/u/emily)
#### Post date: [November 3, 2026, 3:19pm UTC](https://discourse.nixos.org/t/hanging-on-boot-after-update-unstable-nixpkgs-last-week/80907/4 "2026-11-03T15:19:33Z")

</div>

This is not true, there is no signing requirement by default, it only allows opting in. People shouldn’t be adding that snippet to their configurations, it’s purely a test setup. I don’t know what the cause of the original poster’s issue is, but this is misinformation.

---

<div class="post-metadata">

### Author: ![waffle8946](https://discourse.nixos.org/user_avatar/discourse.nixos.org/waffle8946/32/27221_2.png) [@waffle8946](https://discourse.nixos.org/u/waffle8946)
#### Post date: [November 3, 2026, 3:57pm UTC](https://discourse.nixos.org/t/hanging-on-boot-after-update-unstable-nixpkgs-last-week/80907/5 "2026-11-03T15:57:49Z")

</div>

I don’t know what to tell you, my system didn’t boot either, and I use the stock mainline kernel. Finger-wagging that we shouldn’t use test setup code doesn’t get us a bootable system. TBH I should be used to nixpkgs actively breaking every other week, but it never fails to surprise.

---

<div class="post-metadata">

### Author: ![emily](https://discourse.nixos.org/user_avatar/discourse.nixos.org/emily/32/1628_2.png) [@emily](https://discourse.nixos.org/u/emily)
#### Post date: [November 3, 2026, 6:03pm UTC](https://discourse.nixos.org/t/hanging-on-boot-after-update-unstable-nixpkgs-last-week/80907/6 "2026-11-03T18:03:40Z")

</div>

Have you bisected down to my PR? If there’s a regression, it should be looked at. But there was no intentional silent change to runtime behaviour, as described in the PR message, and so your post seems misleading to me. That test snippet is certainly not a supported way to change the booted kernel image.

---

<div class="post-metadata">

### Author: ![ElvishJerricco](https://discourse.nixos.org/user_avatar/discourse.nixos.org/elvishjerricco/32/984_2.png) [@ElvishJerricco](https://discourse.nixos.org/u/ElvishJerricco)
#### Post date: [November 3, 2026, 6:14pm UTC](https://discourse.nixos.org/t/hanging-on-boot-after-update-unstable-nixpkgs-last-week/80907/7 "2026-11-03T18:14:32Z")

</div>

I’m only aware of two ways that issues can occur.

One is if you use an external kernel module whose build process doesn’t use the kernel install rules, resulting in a failure to assemble the module tree due to expected signatures not being there. This is just a packaging issue, but it’s also a build failure, not a boot failure, and isn’t fixed by the `systemBuilderCommands`-based test setup, so if that fixed your system then this is not your issue.

The other is if you have `module.sig_enforce=1` or an equivalent like `lockdown=integrity|confidentiality` in your kernel params. There are two possibilities in this case, and to be fair IMO either of them could reasonably be considered unsupported. One is that you had some other means of kernel module signing implemented yourself, such as custom kconfig adding `CONFIG_MODULE_SIG_ALL=y` to use the nondeterministic ephemeral build time keys. For those users this is indeed a regression. The other possibility is that some people just had `module.sig_enforce=1` in their kernel params without any module signing, and in this case their system was actually broken _before_ the change, and the change just exposes that fact. Before, NixOS didn’t have `CONFIG_MODULE_SIG=y`, which meant that you could put `module.sig_enforce=1` in your kernel params and it would simply have no effect, and the user would think they had module verification enabled when they simply don’t. But now that param actually does what a user would intend for it to do, so the fact that they don’t have module verification working is now exposed to them as a boot failure. IMO this is a good thing. These users were using a config that did not do the verification it was configured to do, so flagging it up and making them figure out how they should actually administer their systems is good.

If there’s another way for boot to break as a result of these changes, I’m not aware of it. Would be good to see what your actual circumstance was so we can find a better solution than using the test code that end users should not be adopting.

---

<div class="post-metadata">

### Author: ![accelbread](https://discourse.nixos.org/user_avatar/discourse.nixos.org/accelbread/32/9955_2.png) [@accelbread](https://discourse.nixos.org/u/accelbread)
#### Post date: [November 3, 2026, 6:17pm UTC](https://discourse.nixos.org/t/hanging-on-boot-after-update-unstable-nixpkgs-last-week/80907/8 "2026-11-03T18:17:55Z")

</div>

I also had to add workarounds for that change; it also impacts users of linuxManualConfig for custom kernels.

At least in my case, it was caught before rebooting as i was looking at nixpkgs history due to a different kernel cleanup issue and noticed it breaks the module hashes patches.

> <https://github.com/accelbread/config-flake/commit/c7ab6920a43b5134f460c10ba7fe4451473b5c64>
>
> Flake lock file updates:
> 
> • Updated input 'emacs-overlay':
> 'github:nix-commu…nity/emacs-overlay/80210a323c307b1e3b458ba65e19ad5cf38c205b?narHash=sha256-PMeViknlzcU5L1tOypvE3wr8zOVUCTkLoWoBEbBM%2Byg%3D' (2026-10-04)
> → 'github:nix-community/emacs-overlay/1aa63a3635b4213c81dac74115499172bb7d5611?narHash=sha256-zJcYVuVp7aQHX/CZWUcAcF/l6w8scgZSZSKFOB4Ll%2B8%3D' (2026-10-28)
> • Updated input 'emacs-overlay/nixpkgs-stable':
> 'github:NixOS/nixpkgs/825e2028c29b702a4a5f085f08095d12099784f2?narHash=sha256-/FGDr01siZ8txrVzkOz6CYjiz0XR27JuVJP%2BaWchi4s%3D' (2026-10-03)
> → 'github:NixOS/nixpkgs/718f670e845328e9c2cecdd832835712b2cbd065?narHash=sha256-Ee5BWo8sh3pGt70QUdRajnaginqFmWvrtdBc4gJzhks%3D' (2026-10-26)
> • Updated input 'flakelight':
> 'github:nix-community/flakelight/8a8ef0c483ef537ede0fbd1e64586918078dffb8?narHash=sha256-%2Bd80Xmj91Jsg7YmFHtt5iQ%2BjYKHQ69f7ZwPgSyh6qFc%3D' (2026-09-28)
> → 'github:nix-community/flakelight/b3da3d82a9f10f306551eb586cce0e49428b1d8f?narHash=sha256-h1ltnuVmtdXZAruOMxMVfiacB43PA/Srwrr4%2BiuWNuo%3D' (2026-10-26)
> • Updated input 'flakelight-elisp':
> 'github:accelbread/flakelight-elisp/47349a1e20aafb53d891612877dd45a8e4c51217?narHash=sha256-hrke%2BJQBqmtPF1LwcI9RMSrXx/cG%2B3iFPBr%2BXkibRLA%3D' (2026-10-04)
> → 'github:accelbread/flakelight-elisp/b7053923d76cb6377ec4e986893843045dbf134f?narHash=sha256-MThbmEn5PpFS%2BfYQXiq1EWIfwWjzuyCJ94953kn0yhE%3D' (2026-10-27)
> • Updated input 'hjem':
> 'github:feel-co/hjem/cef02450f2c18a7e2b9297ea8d366f9a597254f7?narHash=sha256-tycoVCB2KSVdy9ERT1lJGHdP9Hf4FHanaEY25hUxylw%3D' (2026-09-22)
> → 'github:feel-co/hjem/d219ef55ab7311d884cf33e114561082fec95f34?narHash=sha256-BohcZsIqBOd6YL6%2BjUkdM4GE%2BaQc72E6yrqVyt1z5X4%3D' (2026-10-26)
> • Updated input 'nixos-hardware':
> 'github:NixOS/nixos-hardware/31cc5f4d9b9ba601071e8b8504601b9b176e2756?narHash=sha256-rlsYY/Dg/LhbIj51Aa6TLvRpZeb3KZgUTd7llQ5XcJE%3D' (2026-10-04)
> → 'github:NixOS/nixos-hardware/8ba09466dc929acf5c8bb3e0cc40f472a7df3630?narHash=sha256-mhud3nRH8RoP0h9MydfkJ8mISpj%2BQE/S//wOt9bNgC0%3D' (2026-10-26)
> • Updated input 'nixpkgs':
> 'https://releases.nixos.org/nixos/unstable-small/nixos-26.11pre1085504.2f45e44cc987/nixexprs.tar.zst?narHash=sha256-Qb7lRdAId%2Bjgdg2gB/lVuO1EhSHMlVq%2Bo3jJKUUW6uw%3D' (2026-10-04)
> → 'https://releases.nixos.org/nixos/unstable-small/nixos-26.11pre1103507.6cebe2d1a634/nixexprs.tar.zst?narHash=sha256-8klolrNLGtwPtKhpxXvxro9a6pcZZtpZmtS71mnOvYQ%3D' (2026-10-27)
> • Updated input 'preservation':
> 'github:nix-community/preservation/93416f4614ad2dfed5b0dcf12f27e57d27a5ab11?narHash=sha256-mMI9IanU%2BXw%2BpVogD2oT0I2kTmvz2Un/Apc5%2BCwUpEY%3D' (2025-09-09)
> → 'github:nix-community/preservation/00be7f7dd1a11ae0605386f2272288de7cf33abe?narHash=sha256-s/A2rSO2Ndf8Y5yiouesnI/3Zkn9pmVGF2NxFxOUvx8%3D' (2026-10-25)

---

<div class="post-metadata">

### Author: ![stefan-hacks](https://discourse.nixos.org/user_avatar/discourse.nixos.org/stefan-hacks/32/38226_2.png) [@stefan-hacks](https://discourse.nixos.org/u/stefan-hacks)
#### Post date: [November 3, 2026, 11:03pm UTC](https://discourse.nixos.org/t/hanging-on-boot-after-update-unstable-nixpkgs-last-week/80907/9 "2026-11-03T23:03:30Z")

</div>

Why are we left guessing potential solutions when we are all using nix and can simply check @hack4code’s repo if it is shared.
