treewide: modules -> profiles, separate dirs, list in README (#29)

Enforce proper naming: all paths are lowercase and hyphen-separated,
if there's a line of models (aspire, macbook-pro, thinkpad) it becomes
a subdirectory. Documentation for profiles is moved to README files in
respective directories.

Add an Org mode table that lists all available profiles and their paths.

Instead of fetching repo locally, use a Nix channel. Making hardware
profiles read-only should improve quality and amount of participation
long-term.
This commit is contained in:
Yegor Timoshenko
2017-12-22 17:17:00 +00:00
committed by zimbatm
parent 3f2fbacb21
commit 3c9f432a71
31 changed files with 53 additions and 28 deletions
-24
View File
@@ -1,24 +0,0 @@
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" ];```