NixOS profiles covering hardware quirks. ** Setup Add and update ~nixos-hardware~ channel: : $ sudo nix-channel --add https://github.com/NixOS/nixos-hardware/archive/master.tar.gz nixos-hardware : $ sudo nix-channel --update nixos-hardware 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: : imports = [ ./hardware-configuration.nix ]; Starting with nix 2.0 it is also possible to use `builtins.fetchGit` to fetch this repository: : imports = [ : (builtins.fetchGit { : url = "https://github.com/NixOS/nixos-hardware"; : # revision here is optional, if not given, nix will fetch updates automatically : rev = "a5fa2cc1ae6a1002962cf71fc23fbd533db412be"; : } + "/lenovo/thinkpad/x250") : ./hardware-configuration.nix : ]; ** Profiles |---------------------------+--------------------------------------------| | Model | Path | |---------------------------+--------------------------------------------| | [[file:acer/aspire/4810t][Acer Aspire 4810T]] | ~~ | | Airis N990 | ~~ | | Apple MacBook Air 4,X | ~~ | | Apple MacBook Air 6,X | ~~ | | [[file:apple/macbook-pro/10-1][Apple MacBook Pro 10,1]] | ~~ | | Apple MacBook Pro 12,1 | ~~ | | [[file:dell/xps/15-9550][Dell XPS 15 9550]] | ~~ | | [[file:inversepath/usbarmory][Inverse Path USB armory]] | ~~ | | Lenovo IdeaPad Z510 | ~~ | | Lenovo ThinkPad T410 | ~~ | | Lenovo ThinkPad T440p | ~~ | | Lenovo ThinkPad T460s | ~~ | | Lenovo ThinkPad X140e | ~~ | | Lenovo ThinkPad X220 | ~~ | | Lenovo ThinkPad X230 | ~~ | | Lenovo ThinkPad X250 | ~~ | | [[file:microsoft/surface-pro/3][Microsoft Surface Pro 3]] | ~~ | | [[file:raspberry-pi/2][Raspberry Pi 2]] | ~~ | | [[file:samsung/np900x3c][Samsung Series 9 NP900X3C]] | ~~ | | Supermicro A1SRi-2758F | ~~ | | Supermicro X10SLL-F | ~~ | |---------------------------+--------------------------------------------|