Commit Graph

104 Commits

Author SHA1 Message Date
Yegor Timoshenko a433fd730f
inversepath/usbarmory: fix evaluation 2017-12-24 17:21:43 +00:00
Yegor Timoshenko 08e080ae11
thinkpad: only enable tp_smapi on compatible ThinkPads, closes #36 2017-12-24 15:26:31 +00:00
Yegor Timoshenko 3743ae21f5
treewide: only ever set unmergable options via lib.mkDefault
Also extract documentation from raspberry-pi/2/ profile.
2017-12-24 15:13:25 +00:00
Yegor Timoshenko a74c9bdaf8
acer/c720: drop empty profile 2017-12-24 14:57:53 +00:00
Yegor Timoshenko f31e4afea5
apple/macbook-pro/10-1: elaborate more on NVidia driver 2017-12-24 14:19:38 +00:00
Yegor Timoshenko 4570276556
inversepath/usbarmory: drop inappropriate comment 2017-12-24 14:12:06 +00:00
Yegor Timoshenko f35389f469
tests/eval-test: exit on failed evaluation, skip some paths 2017-12-24 13:57:47 +00:00
Yegor Timoshenko a95291d21d
asus/wireless-ac1300: fix evaluation 2017-12-24 13:34:49 +00:00
Yegor Timoshenko f6526819a0
tests/build-test: rename to eval-test 2017-12-24 13:29:41 +00:00
Yegor Timoshenko b8afb99c16
README: drop inversepath/usbarmory from the table 2017-12-24 13:26:11 +00:00
Yegor Timoshenko e1806b4c1b lib: drop, fixes #16 (#37)
Hardware notes are seemingly less useful than a README, and
kernelAtLeast option, while potentially useful:

a) is not used anywhere in the tree at the moment,
b) doesn't properly work when there are multiple elements in the list,
c) assumes that there are no degradations ever.
2017-12-24 13:11:44 +00:00
Yegor Timoshenko bf86fda74c
tests/build-test: allowBroken, allowUnfree
allowUnfree is set to true for evaluation purposes only.
2017-12-24 13:11:00 +00:00
Yegor Timoshenko 721741b0c7
lenovo/thinkpad/t460s: fix evaluation, drop old kernel notes 2017-12-24 12:37:08 +00:00
Yegor Timoshenko 95c8873c41
supermicro/a1sri-2758f: fix evaluation, drop old kernel notes 2017-12-24 12:35:46 +00:00
Yegor Timoshenko f62ead1ce0
samsung/np900x3c: fix evaluation, drop old kernel notes 2017-12-24 12:34:24 +00:00
Yegor Timoshenko 0344137b57
dell/xps/15-9550: fix evaluation, drop old kernel notes 2017-12-24 12:30:41 +00:00
Yegor Timoshenko 63b3836fcf
apple: use global apple profile (for mbpfan) 2017-12-24 12:17:37 +00:00
Yegor Timoshenko cbe052c49e
apple/macbook-pro/12-1: clean up 2017-12-24 12:16:10 +00:00
Yegor Timoshenko a8b7b6ffe5
apple/macbook-pro/10-1: fix evaluation, drop old kernel notes 2017-12-24 12:13:25 +00:00
Yegor Timoshenko dd87817ffc
airis/n990: fix evaluation 2017-12-24 12:04:23 +00:00
Yegor Timoshenko 667b1d8eb9
4810t: fix evaluation, clean up 2017-12-24 11:59:21 +00:00
Yegor Timoshenko 097d47e3f8
c720: drop kernel notes for unsupported kernel versions 2017-12-24 11:50:06 +00:00
Yegor Timoshenko fc9b7ae002
tests: add evaluation/build test 2017-12-24 11:45:48 +00:00
Yegor Timoshenko 2951a4f4b0
thinkpad: move fprintd comment from X220 to parent profile 2017-12-24 11:17:39 +00:00
Yegor Timoshenko e4639aa028
thinkpad: add missing `config` 2017-12-24 11:10:07 +00:00
Yegor Timoshenko 9609c900f9
apple: add services.mbpfan.enable 2017-12-24 03:38:17 +00:00
Yegor Timoshenko 1b81e4e476
asus/wireless-ac1300: use config.boot.kernelPackages 2017-12-24 02:34:44 +00:00
Yegor Timoshenko 0c51ed4b80
x140e: drop options generated with nixos-generate-config 2017-12-24 01:28:22 +00:00
Yegor Timoshenko 7810833d2d
t410: drop POWERTOP-like script in favor of services.tlp.enable
tlp does the same thing, but dynamically, depending on whether power
adapter is connected. It is also much more portable than this script.
Direct replacement would be `powerManagement.powertop.enable`.
2017-12-24 01:25:18 +00:00
Yegor Timoshenko fcb9d76ead
thinkpad: use lib.mkDefault on all unmergable options 2017-12-24 01:20:36 +00:00
Yegor Timoshenko 67cd7af6be
thinkpad: common.nix -> default.nix + fixup after intel.nix drop 2017-12-24 01:13:40 +00:00
Yegor Timoshenko 0c17d72838
thinkpad: drop intel.nix, explicit services.xserver.videoDrivers
Kernel modules are already generated with nixos-generate-config.
2017-12-24 01:05:12 +00:00
Yegor Timoshenko 1bb5593772
t410: drop i915 warning 2017-12-24 00:59:37 +00:00
Yegor Timoshenko ee47d31478
thinkpad: enable tp_smapi on all ThinkPads 2017-12-24 00:57:35 +00:00
Yegor Timoshenko 1133ce7d83
x220: drop security.rngd.enable = true, it's by default 2017-12-24 00:55:12 +00:00
Yegor Timoshenko b8ab6ab37f
thinkpad/intel: drop mkDefault, fixes #33 2017-12-24 00:46:26 +00:00
Yegor Timoshenko 3c9f432a71 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.
2017-12-22 17:17:00 +00:00
zimbatm 3f2fbacb21
Merge pull request #27 from yegortimoshenko/20171222.023336/cleanup-thinkpad
thinkpad: cleanup
2017-12-22 10:35:57 +00:00
Yegor Timoshenko d4688911b7 treewide: drop hardware-configuration.nix boilerplate (#28)
hardware-configuration.nix is still relied upon for hard drive
configuration, and it handles variations of hardware (custom
configurations, subrevisions).
2017-12-22 10:33:54 +00:00
Yegor Timoshenko a6f8e4bbc0
thinkpad: remove various assumptions
* hardware.trackpoint.emulateWheel = true; is very biased, this module
  is only for ThinkPads anyway, so default value should be used
* All options that should be overridable (e.g. services.tlp.enable)
* Hardware profile should not pull in stuff into system environment
  unless it's hardware-specific (pkgs.acpi is not)
* sound.mediaKeys clashes with DE, e.g. Xfce handling sound keys
* Drop redundant synaptics.enable = false;
2017-12-22 03:10:09 +00:00
Yegor Timoshenko 440088677b
lenovo: minor cosmetic changes 2017-12-22 02:56:28 +00:00
Rok Garbas a64cf32a57 Merge pull request #25 from Ma27/general-thinkpad-configuration
General thinkpad configuration
2017-10-20 13:31:21 +02:00
Maximilian Bosch a0e35e5306
Use `mkDefault` to avoid make override easier 2017-10-20 08:01:20 +02:00
Rok Garbas 8d73b79397 Merge pull request #26 from teh/master
Add file for macbook pro 12,1 with suspend fix.
2017-10-03 16:34:43 +02:00
Tom Hunger 7f194802c5 Add file for macbook pro 12,1 with suspend fix. 2017-09-24 15:19:52 +01:00
Maximilian Bosch 12f5a724ce
`sound.enableMediaKeys` can be used on all ThinkPads 2017-09-21 00:11:34 +02:00
Maximilian Bosch 348f0466b5
x250 can be configured using all defaults 2017-09-21 00:09:48 +02:00
Maximilian Bosch 356ebeaaf7
Introduce `general-intel.nix` for defaults with Intel CPU
The x1xx series relies on a AMD CPU, but all other (currently supported)
ThinkPads use an Intel CPU, so `general-intel.nix` is responsible
for all Intel defaults.
2017-09-06 10:01:01 +02:00
Maximilian Bosch 0116223524
Add `pkgs.acpi` to gather battery status information 2017-09-06 09:49:11 +02:00
Maximilian Bosch 5340bd39d1
Don't enable non-dedistributable firmware by default 2017-09-06 09:47:37 +02:00