8000 nix: add configurable NixOS module by 4leite · Pull Request #25 · fstanis/chuwi-minibook · GitHub
[go: up one dir, main page]

Skip to content

nix: add configurable NixOS module - #25

Merged
4leite merged 2 commits into
fstanis:mainfrom
4leite:feature/nixos-flake
Sep 19, 2026
Merged

4leite merged 2 commits into
fstanis:mainfrom
4leite:feature/nixos-flake

Conversation

@4leite
@4leite 4leite commented Sep 17, 2026 •
Copy link
Copy Markdown
Collaborator

Summary

  • Add a flake exposing one NixOS module for the MiniBook X support stack.
  • Make each fix configurable, use kernel panel rotation by default, and keep generated VBT firmware explicit and optional.
  • Add optional Mutter orientation handling and NixOS setup documentation.

Validation

  • Evaluated the flake module successfully.
  • Built the complete Chewbacca NixOS system using the published branch and NixOS 26.05.
  • Built all kernel modules, firmware, SensorProxy, thermald, VBT generation, and the final system closure.

Dependencies

@4leite
4leite force-pushed the feature/nixos-flake branch from 34edc9e to 5af6536 Compare September 17, 2026 13:23
@4leite
4leite commented Sep 17, 2026
Copy link
Copy Markdown
Collaborator Author

Note that we could move the flake.nix also into the tools/nixos directory, but it slightly more cumbersome for end users (having it at root allows the nixos build to just point at the repo).

Package the MiniBook components and provide a NixOS module with individually configurable fixes. Default to the standard kernel panel rotation path, support explicit VBT generation from host firmware, and include the optional Mutter orientation fix.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@4leite
4leite force-pushed the feature/nixos-flake branch from 5af6536 to b3589a1 Compare September 17, 2026 14:14
@fstanis
fstanis commented Sep 17, 2026
Copy link
Copy Markdown
Owner

Thank you - I'm not familiar with NixOS so there's not much I can contribute here - feel free to merge yourself when ready.

BTW you mentioned in #23 that check-status.sh isn't compatible with NixOS either, do you think it makes sense to patch that up too in this PR?

@4leite
4leite commented Sep 19, 2026
Copy link
Copy Markdown
Collaborator Author

Patching check-status to work would require testing on a non-nixos machines as it's a bit disruptive. I've tidied the docs and so Ill merge this one, which shouldn't regress other distro implementations. I might do a follow up with the nixos compatible check-status when I get some time.

@4leite
4leite merged commit e37d4f8 into fstanis:main Sep 19, 2026
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.

2 participants

0