mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 16:57:14 +08:00
d4688911b7856e69368d4d20e27bf9fb6e4d8d9c
hardware-configuration.nix is still relied upon for hard drive configuration, and it handles variations of hardware (custom configurations, subrevisions).
A collection of NixOS modules covering hardware quirks.
Usage
The simplest way to use this repo for now is to clone locally and include by path:
{ config, pkgs, ... }:
{
imports =
[ /home/user/nixos-hardware/acme/thunkpad-2000.nix ];
}
Modules should favor usability and stability, so performance hacks should be activated by an additional a NixOS option or conservative and performance configs can be declared in seperate modules.
Because modules can only be tested with the appropriate hardware, quality assurance is up to you.
Simple tips and tricks
Disable PC speaker
boot.blacklistedKernelModules = [ "pcspkr" ];
Description
Languages
Nix
96.8%
Ruby
1.6%
Python
1.4%
Shell
0.2%