# Linux Surface Kernel Stuck at 6.12.19

**URL:** https://discourse.nixos.org/t/linux-surface-kernel-stuck-at-6-12-19/73891
**Category:** Help
**Created:** [January 2, 2026, 5:01am UTC](https://discourse.nixos.org/t/linux-surface-kernel-stuck-at-6-12-19/73891 "2026-01-02T05:01:29Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![ImBored7820](https://discourse.nixos.org/user_avatar/discourse.nixos.org/imbored7820/32/35741_2.png) [@ImBored7820](https://discourse.nixos.org/u/ImBored7820)
#### Post date: [January 2, 2026, 5:01am UTC](https://discourse.nixos.org/t/linux-surface-kernel-stuck-at-6-12-19/73891/1 "2026-01-02T05:01:29Z")

</div>

Hello everyone, I’m a new nix user I’m using the Linux surface kernel for my surface laptop 3 and I’m having an issue so the kernel no matter what I do it’s stuck on 6.12.19 (the LTS version) I really want to get 6.18.2 and I am just wondering how I should go about doing this and if anyone else has had the same problem currently I am importing the kernel through flakes using the line

Input:

nixos-hardware.url = “github:8bitbuddhist/nixos-hardware?ref=surface-rust-target-spec-fix”;

Output:

nixos-hardware.nixosModules.microsoft-surface-common

---

<div class="post-metadata">

### Author: ![Majiir](https://discourse.nixos.org/user_avatar/discourse.nixos.org/majiir/32/11049_2.png) [@Majiir](https://discourse.nixos.org/u/Majiir)
#### Post date: [January 2, 2026, 6:01am UTC](https://discourse.nixos.org/t/linux-surface-kernel-stuck-at-6-12-19/73891/2 "2026-01-02T06:01:22Z")

</div>

`hardware.microsoft-surface.kernelVersion = “stable”` will get you 6.15.

The default is `”longterm”`.

---

<div class="post-metadata">

### Author: ![ImBored7820](https://discourse.nixos.org/user_avatar/discourse.nixos.org/imbored7820/32/35741_2.png) [@ImBored7820](https://discourse.nixos.org/u/ImBored7820)
#### Post date: [January 2, 2026, 7:18pm UTC](https://discourse.nixos.org/t/linux-surface-kernel-stuck-at-6-12-19/73891/3 "2026-01-02T19:18:03Z")

</div>

Ah alright thank you so much, is there no way to get 6.18 on nixos? I have it on arch and it says it’s 6.18 how come it’s different on Nixos?

---

<div class="post-metadata">

### Author: ![Majiir](https://discourse.nixos.org/user_avatar/discourse.nixos.org/majiir/32/11049_2.png) [@Majiir](https://discourse.nixos.org/u/Majiir)
#### Post date: [January 2, 2026, 11:14pm UTC](https://discourse.nixos.org/t/linux-surface-kernel-stuck-at-6-12-19/73891/4 "2026-01-02T23:14:17Z")

</div>

NixOS does have 6.18. But you are using `nixos-hardware`, which in turn uses the `linux-surface` kernel. `linux-surface` only updated to 6.18 two days ago, and `nixos-hardware` has not yet been updated. You can track that update here: [microsoft/surface: kernel 6.18 by 8bitbuddhist · Pull Request #1696 · NixOS/nixos-hardware · GitHub](https://github.com/NixOS/nixos-hardware/pull/1696)

---

<div class="post-metadata">

### Author: ![8bitbuddhist](https://discourse.nixos.org/user_avatar/discourse.nixos.org/8bitbuddhist/32/35759_2.png) [@8bitbuddhist](https://discourse.nixos.org/u/8bitbuddhist)
#### Post date: [January 3, 2026, 6:24pm UTC](https://discourse.nixos.org/t/linux-surface-kernel-stuck-at-6-12-19/73891/5 "2026-01-03T18:24:18Z")

</div>

Hey! That URL you’re using (github:8bitbuddhist/nixos-hardware?ref=surface-rust-target-spec-fix) is my personal branch. You can keep using it if you really want to, but keep in mind it’s not officially maintained or supported (yet).

Like Majiir mentioned, you can follow these PRs for updates:

> <https://github.com/NixOS/nixos-hardware/pull/1696>
>
> \###### Description of changes
> 
> Updates the stable linux-surface kernel to 6.18…. There aren't any official 6.18 patches from linux-surface, so this uses the 6.17 patch set with some slight modifications to account for differences in the kernel source.
> 
> ~~Will keep this as WIP until 6.18 hits NixOS' stable channel and other kernel modules get updated.~~
> 
> \###### Things done
> 
> 
> 
> \- \[X\] Tested the changes in your own NixOS Configuration
> \- \[X\] Tested the changes end-to-end by using your fork of \`nixos-hardware\` and
> importing it via \`\<nixos-hardware\>\` or Flake input

> <https://github.com/NixOS/nixos-hardware/pull/1690>
>
> \###### Description of changes
> 
> Adds a patch for older kernel versions so they …can build using Rust 1.91, which is used in NixOS 25.11. This fixes a build error and #1685.
> 
> Update: Due to a cryptic build error, Rust is disabled for the 6.12 (\`longterm\`) kernel. It can be re-enabled for the next LTS kernel (6.18).
> 
> \###### Things done
> 
> \- \[X\] Tested the changes in your own NixOS Configuration
> \- \[X\] Tested the changes end-to-end by using your fork of \`nixos-hardware\` and
> importing it via \`\<nixos-hardware\>\` or Flake input

---

<div class="post-metadata">

### Author: ![ImBored7820](https://discourse.nixos.org/user_avatar/discourse.nixos.org/imbored7820/32/35741_2.png) [@ImBored7820](https://discourse.nixos.org/u/ImBored7820)
#### Post date: [January 3, 2026, 7:16pm UTC](https://discourse.nixos.org/t/linux-surface-kernel-stuck-at-6-12-19/73891/6 "2026-01-03T19:16:10Z")

</div>

Ohhh thank you so much

---

<div class="post-metadata">

### Author: ![ImBored7820](https://discourse.nixos.org/user_avatar/discourse.nixos.org/imbored7820/32/35741_2.png) [@ImBored7820](https://discourse.nixos.org/u/ImBored7820)
#### Post date: [January 3, 2026, 7:16pm UTC](https://discourse.nixos.org/t/linux-surface-kernel-stuck-at-6-12-19/73891/7 "2026-01-03T19:16:59Z")

</div>

Yeah I’ve been using it because my build kept crashing due to the rust problem, thanks to much for fixing it!

---

<div class="post-metadata">

### Author: ![8bitbuddhist](https://discourse.nixos.org/user_avatar/discourse.nixos.org/8bitbuddhist/32/35759_2.png) [@8bitbuddhist](https://discourse.nixos.org/u/8bitbuddhist)
#### Post date: [January 17, 2026, 6:53pm UTC](https://discourse.nixos.org/t/linux-surface-kernel-stuck-at-6-12-19/73891/8 "2026-01-17T18:53:58Z")

</div>

To keep things easy, I merged all the linux-surface updates onto a single branch. This includes kernel updates too (6.12.65 and 6.18.5): `github:8bitbuddhist/nixos-hardware?ref=surface-kernel-6.18`

PR: [https://github.com/NixOS/nixos-hardware/pull/1696](https://github.com/NixOS/nixos-hardware/pull/1696)

---

<div class="post-metadata">

### Author: ![8bitbuddhist](https://discourse.nixos.org/user_avatar/discourse.nixos.org/8bitbuddhist/32/35759_2.png) [@8bitbuddhist](https://discourse.nixos.org/u/8bitbuddhist)
#### Post date: [February 15, 2026, 5:55pm UTC](https://discourse.nixos.org/t/linux-surface-kernel-stuck-at-6-12-19/73891/9 "2026-02-15T17:55:17Z")

</div>

Coming back to this: they merged a new PR that [updates “stable” kernel to 6.18.8](https://github.com/NixOS/nixos-hardware/pull/1763). “longterm” still points to 6.12, but [there are plans to deprecate this](https://github.com/NixOS/nixos-hardware/pull/1764) and point LTS to 6.18. But you can start using 6.18 today with `hardware.microsoft-surface.kernelVersion = "stable";`
