2016-02-08 12:24:29 +01:00
|
|
|
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 ];
|
|
|
|
}
|
2016-02-10 18:38:03 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
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**.
|
2016-02-26 11:46:42 +01:00
|
|
|
|
|
|
|
## Simple tips and tricks
|
|
|
|
|
|
|
|
### Disable PC speaker
|
|
|
|
```boot.blacklistedKernelModules = [ "pcspkr" ];```
|