Skip to content

Add yt6801 driver for TUXEDO InfinityBook Pro 14 - Gen9 - INTEL #1449

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 29, 2025

Conversation

j0hax
Copy link
Member

@j0hax j0hax commented Apr 19, 2025

Description of changes

This commit adds the Motorcomm YT6801 module for the InfinityBook Pro 14 Gen 9. Because both the Intel and AMD variants of the laptop have this Ethernet controller, the existing Nix module for the Intel variant was moved to its own directory.

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

@@ -330,7 +330,7 @@
tuxedo-aura-15-gen1 = import ./tuxedo/aura/15/gen1;
tuxedo-infinitybook-v4 = import ./tuxedo/infinitybook/v4;
tuxedo-infinitybook-pro14-gen7 = import ./tuxedo/infinitybook/pro14/gen7;
tuxedo-infinitybook-pro14-gen9-intel = import ./tuxedo/infinitybook/pro14/gen9-intel;
Copy link
Member

@Mic92 Mic92 Apr 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we want to rename this, we need to leave a deprecation warning in the old module because non-flake users will otherwise get an import error.

Here is an example:

https://github.com/NixOS/nixos-hardware/blob/master/common/pc/hdd/default.nix

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would using lib.mkRenamedOptionModule in the old module be a better option?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure this applies here. We want to deprecate a file rather than a NixOS option.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay. I added a deprecation warning and import to the new module to ensure that nothing breaks for the time being 😄

@j0hax j0hax force-pushed the tuxedo-infinitybook-maintenance branch from 9ecdceb to 496c55e Compare April 24, 2025 16:40
@Mic92
Copy link
Member

Mic92 commented Apr 29, 2025

@Mergifyio queue

Copy link
Contributor

mergify bot commented Apr 29, 2025

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at f16e0cd

mergify bot added a commit that referenced this pull request Apr 29, 2025
@mergify mergify bot merged commit f16e0cd into NixOS:master Apr 29, 2025
2 checks passed
@j0hax j0hax deleted the tuxedo-infinitybook-maintenance branch April 29, 2025 06:58
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