mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-27 05:19:43 +01:00
24 lines
662 B
Markdown
24 lines
662 B
Markdown
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:
|
|
``` nix
|
|
{ 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" ];```
|