📈 GH Trending Explorer 🎲 Surprise me

← all repos

NixOS / nixos-hardware

git clone https://github.com/NixOS/nixos-hardware.git mnt-reform2-nitrogen8m-v1 · 5y ago 🔥 on GitHub Trending today

A collection of NixOS modules that tune system settings for specific laptops, desktops, and other hardware.

Why you might care

Import a ready-made profile for your device instead of hand-tuning kernel modules, drivers, and power settings. Profiles are maintained by the NixOS hardware team and usable via channels, flakes, or fetchGit.

Categories

linuxosdotfiles library

Alternatives

nixos-facterNixOS wiki hardware pages
+1
stars, 24h · #21,853
+11
stars, 7 days · #12,170
+39
stars, 30 days · #16,702
3.3k
★ total · +0% this week
991
forks · 331 open issues

Star history (as recorded here)

2026-10-20 · 3,340 ★ 2026-10-23 · 3,343 ★
LanguageNix
LicenseCC0-1.0
Created2016-02-08 (10y ago)
Last pushtoday
Watchers59
OwnerOrganization

Seen on GitHub Trending

  • 2026-10-23 — #4 daily in nix · +2 ★
  • 2026-10-23 — #6 monthly in nix · +39 ★
  • 2026-10-23 — #3 weekly in nix · +11 ★

Links

README excerpt
NixOS profiles to optimize settings for different hardware.
## Setup
### Using channels
Add and update `nixos-hardware` channel:
 [code] 
Then import an appropriate profile path from the table below. For example, to
enable ThinkPad X220 profile, your `imports` in `/etc/nixos/configuration.nix`
should look like:
 [code] 
New updates to the expressions here will be fetched when you update the channel.
### Using nix flakes support
There is also experimental flake support. In your `/etc/nixos/flake.nix` add
the following:
 [code] 
### Using fetchGit
You can fetch the git repository directly:
 [code] 
Unlike the channel, this will update the git repository on a rebuild. However,
you can easily pin to a particular revision if you desire more stability.
## How to contribute a new device profile
See CONTRIBUTING.md.
## Get in touch
For questions and discussions, come join us in the nixos-hardware matrix room.
# Community Meetings
The NixOS hardware team meets regularly to discuss hardware profiles and maintenance:
- **When**: Every 3rd Friday of the month
- **Time**: 06:00 pm (UTC) / 18:00 (UTC)
- **Where**: https://jitsi.lassul.us/Hardware-team
- **Contact**: hardware@nixos.org
All contributors and users are welcome to join!
## List of Profiles
See code for all available configurations.
| Model | Path | Flake Module |
| --------------------------------------------------------------------------------- | ------------------------------------------------------- | -------------------------------------- |
| Acer Aspire 4810T | ` ` | `acer-aspire-4810t` |
| Acer Predator Helios 300 (PH315-51) | ` ` | `acer-predator-helios-300-ph315-51` |
| Airis N990 | ` ` | `airis-n990` |
| Apple iMac 12,2 | ` ` | `apple-imac-12-2` |
| Apple iMac 14.2 | ` ` | `apple-imac-14-2` |
| Apple iMac 18.2 | ` ` | `apple-imac-18-2` |
| Apple MacBook Air 3,X | ` ` | `apple-macbook-air-3` |
| Apple MacBook Air 4,X | ` ` | `apple-macbook-air-4` |
| Apple MacBook Air 5,X | ` ` | `apple-macbook-air-5` |
| Apple MacBook Air 6,X | ` ` | `apple-macbook-air-6` |
| Apple MacBook Air 7,X | ` ` | `apple-macbook-air-7` |
| Apple MacBook Pro 8,1 | ` ` | `apple-macbook-pro-8-1` |
| Apple MacBook Pro 10,1 | ` ` | `apple-macbook-pro-10-1` |
| Apple MacBook Pro 11,1 | ` ` | `apple-macbook-pro-11-1` |
| Apple MacBook Pro 11,4 | ` ` | `apple-macbook-pro-11-4` |
| Apple MacBook Pro 11,5 | ` ` | `apple-macbook-pro-11-5` |
| Apple MacBook Pro 12,1 | ` ` | `apple-macbook-pro-12-1` |
| Apple MacBook Pro 14,1 | ` ` | `apple-macbook-pro-14-1` |
| Apple MacMini (2010, Intel, Nvidia) | ` ` | `apple-macmini-4-1` |
| Apple Macs with a T2 Chip | ` ` | `apple-t2` |
| Aoostar R1 N100 | ` ` | `aoostar-r1-n100` |
| Asus Pro WS X570-ACE | ` ` | `asus-pro-ws-x570-ace` |
| Asus ROG Ally RC71L (2023) | ` ` | `asus-ally-rc71l` |
| Asus ROG Flow X13 GV302X\* (2023) | ` ` | `asus-flow-gv302x-amdgpu` |
| Asus ROG Flow X13 GV302X\* (2023) | ` ` | `asus-flow-gv302x-nvidia` |
| Asus ROG Flow Z13 gz301vu\* (2023) | ` ` | `asus-flow-

Blurb generated by claude-haiku-5-5 today. Star deltas marked ~ are extrapolated from partial history.