Skip to content

lenovo/thinkpad/x13s: add options and use other options#1751

Open
BrainWart wants to merge 14 commits intoNixOS:masterfrom
BrainWart:x13s-updates
Open

lenovo/thinkpad/x13s: add options and use other options#1751
BrainWart wants to merge 14 commits intoNixOS:masterfrom
BrainWart:x13s-updates

Conversation

@BrainWart
Copy link

@BrainWart BrainWart commented Jan 31, 2026

Description of changes

Use options for x13s specific information. Change the way the device tree is selected as well. The built-in NixOS options better handle this now. systemd-boot needs no additional configuration when using hardware.deviceTree. There's now a rough, commented out, implementation for booting using Grub. The system bluetooth device will now get a MAC address automatically generated based on /etc/machine-id.

I've attempted to break the changes up in 4 commits splitting up the different changes in easier to review chunks. Drafting the PR now to get feedback and any feedback is appreciated.

Booting the configs

Things done
  • Tested the changes in your own NixOS Configuration
  • Tested the changes end-to-end by using your fork of nixos-hardware and importing it via <nixos-hardware> or Flake input

BrainWart and others added 4 commits January 31, 2026 22:12
Module appears to have come from either https://codeberg.org/adamcstephens/nixos-x13s.git
or https://github.com/BrainWart/x13s-nixos/tree/main. Tagging authors
from the module history.

Co-Authored-By: Adam Stephens <adam@valkor.net>
Co-Authored-By: Beaver <beavernotacat@gmail.com>
Co-Authored-By: Daniel Barter <danielbarter@gmail.com>
Co-Authored-By: Stefan Junker <mail@stefanjunker.de>
Co-Authored-By: steveej <steveej@noreply.codeberg.org>
Co-Authored-By: TheNightmanCodeth <joseph.diragi@icloud.com>
change uses the deviceTree features in nixpkgs. one could use
specialisation to select the el2 device tree for this system now.
@BrainWart BrainWart changed the title x13s updates lenovo/thinkpad/x13s: add options and use other options Jan 31, 2026
@BrainWart BrainWart marked this pull request as ready for review February 5, 2026 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant