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
Merge nixos-hardware into nixpkgs under /nixos/hardware
#91160
Conversation
In my experience, this makes keyboard behavior match letters printed on it both on EU and US keyboards.
Basically a meta profile that combines thinkpad + intel.
x230: init
I've tested this to work on MacBookAir4,1 and I'm going to deploy it to MacBookAir6,2 today and Lenovo ThinkPad X230 in a week from now. Also, cleaned up Lenovo ThinkPad X230 profile.
This is handled by TLP, so we don't need to set that explicitly.
This setting has been part of NixOS since version 16.09
It is going to be merged into nixpkgs, under `nixos/hardware`. This will give better discoverability, and considering the low turnover (less than 100 commits in the last year and only 350 total) it won’t make any dent on the size of nixpkgs. We have a monorepo, let’s use it.
…merge Merges https://github.com/NixOS/nixos-hardware into nixpkgs. This will give better discoverability, and considering the low turnover (less than 100 commits in the last year and only 350 total) it won’t make any dent on the size of nixpkgs. We have a monorepo, let’s use it
It’s a full subset of the toplevel .gitignore.
/nixos/hardware
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a great idea.
@@ -0,0 +1,111 @@ | |||
Statement of Purpose |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a public domain license. So, for simplicity's sake, I'd remove it and keep the top-level Nixpkgs MIT license.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn’t sure of that, as IANAL I opted for keeping it safe. I would make that decision in a separate PR.
We are going to have to integrate the tests differently, but it’s fine for now.
I am also all for it. It also makes it easier to apply changes that depend on specific nixpkgs revisions. Also we can finally integrate this into |
@@ -55,6 +55,15 @@ | |||
# NixOS integration test driver | |||
/nixos/lib/test-driver @tfc | |||
|
|||
# NixOS hardware descriptions | |||
/nixos/hardware/beagleboard/pocketbeagle @yegortimoshenko | |||
/nixos/hardware/dell/xps/13-9370 @moredread |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @Moredread
# NixOS hardware descriptions | ||
/nixos/hardware/beagleboard/pocketbeagle @yegortimoshenko | ||
/nixos/hardware/dell/xps/13-9370 @moredread | ||
/nixos/hardware/dell/xps/13-9380 @kalbasit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is a good idea. These profiles aren't tested regularly, and merging them in to nixpkgs means there should be a quality standard IMO. They're also fairly opinionated in ways that our users may not want. I don't this is a healthy move for Nixpkgs or for the nixos-hardware project.` |
I'm also not sure about the license. Nixpkgs' expressions are all MIT. I think this should be reverted for more consideration. |
Indeed, changes to the scope of Nixpkgs require an RFC. |
seems this can also sometimes confuse
bisect randomly switched over to commits from nixos-hardware, and then |
Merges https://github.com/NixOS/nixos-hardware into nixpkgs.
This will give better discoverability, and considering the low
turnover (less than 100 commits in the last year and only 350 total)
it won’t make any dent on the size of nixpkgs.
We have a monorepo, let’s use it.
cc @Mic92 and @yegortimoshenko as the top contributors to nixos-hardware.
Followup:
nixos/modules/installer/cd-dvd
(e.g. the raspberripy definitions) tonixos/hardware