Yegor Timoshenko
8a352e39b5
apple/macbook-air/6: resolve tearing
2018-01-07 17:26:37 +00:00
Yegor Timoshenko
b65efccd54
apple/macbook-air/6: add acpi_osi= kernel param
2017-12-27 22:09:57 +00:00
Yegor Timoshenko
19c0c04f61
apple/macbook-air/4: enable RC6p, RC6pp GPU sleep states
2017-12-27 21:39:31 +00:00
Yegor Timoshenko
52e84ef201
LICENSE: license under CC0-1.0
2017-12-27 17:21:46 +00:00
Yegor Timoshenko
5a00ea423a
common/pc/laptop: drop explicit vm.laptop_mode
...
This is handled by TLP, so we don't need to set that explicitly.
2017-12-27 07:46:06 +00:00
Yegor Timoshenko
b1304963c8
common/cpu/intel: add vaapi/vdpau drivers
...
I've tested this to work on MacBookAir4,1 and I'm going to deploy it
to MacBookAir6,2 today and Lenovo ThinkPad X230 in a week from now.
Also, cleaned up Lenovo ThinkPad X230 profile.
2017-12-27 07:31:18 +00:00
Yegor Timoshenko
ed3ba5cc2d
CODEOWNERS: add yegortimoshenko to Lenovo ThinkPad X230
2017-12-27 07:22:51 +00:00
Yegor Timoshenko
8a05dc9beb
Merge pull request #46 from makefu/master
...
x230: init
2017-12-27 09:19:20 +03:00
Yegor Timoshenko
d1d99eb158
treewide: mark things that have to be done
2017-12-25 22:07:47 +00:00
Yegor Timoshenko
554629a957
thinkpad: do not enable thinkfan by default
2017-12-25 20:36:30 +00:00
Yegor Timoshenko
4ac0a93919
Merge pull request #45 from yegortimoshenko/20171225.193307/travis-drop-sudo
2017-12-25 22:38:27 +03:00
Yegor Timoshenko
26d3f54be8
travis: drop sudo
2017-12-25 19:33:32 +00:00
Yegor Timoshenko
0939f0c48c
travis: fixup after 8d578a53d6
2017-12-25 19:28:59 +00:00
Yegor Timoshenko
8d578a53d6
tests: drop -test prefix to match naming style used by NixOS tests
2017-12-25 19:24:01 +00:00
Yegor Timoshenko
f1952eae04
tests/eval-test: Add --show-trace from #44
2017-12-25 19:21:44 +00:00
Yegor Timoshenko
7dbceec472
Merge pull request #40 from NixOS/travis-ci
2017-12-25 20:27:25 +03:00
Yegor Timoshenko
571bea15a4
CODEWONERS: init
2017-12-25 14:39:59 +00:00
Yegor Timoshenko
e6091de691
README: add apple/macbook-air/{4,6}
2017-12-25 13:30:03 +00:00
Yegor Timoshenko
2227f2c67a
apple/macbook-air/4: resolve tearing
2017-12-25 04:55:29 +00:00
Yegor Timoshenko
f9a1ac6297
common/pc/laptop: disable cpuFreqGovernor
2017-12-25 04:46:15 +00:00
Yegor Timoshenko
88bd1266a7
apple/macbook-air/4: add
2017-12-25 04:32:30 +00:00
Yegor Timoshenko
e228c7827b
apple: add hid_apple.iso_layout=0 kernel param
...
In my experience, this makes keyboard behavior match letters printed
on it both on EU and US keyboards.
2017-12-25 04:30:32 +00:00
Yegor Timoshenko
a5df61571c
raspberry-pi/2: format README
2017-12-25 01:51:51 +00:00
Yegor Timoshenko
9b3e42be63
apple: wrap hardware.facetimehd option
2017-12-25 01:51:02 +00:00
Yegor Timoshenko
5a1a527f16
apple: enable facetimehd if allowUnfree = true
2017-12-25 01:28:02 +00:00
Yegor Timoshenko
db483616db
apple/macbook-air/6: init
2017-12-25 01:27:28 +00:00
Yegor Timoshenko
aa70bfe955
asus/m60j-jx041v: drop (README only)
...
It's not useful and links are broken.
2017-12-24 23:44:25 +00:00
Yegor Timoshenko
1c54b711e5
common: drop notice
...
I didn't mean to commit that. I'm pretty sure common/ is a good name,
and basic layout is unlikely to change.
2017-12-24 23:23:39 +00:00
Yegor Timoshenko
5407ba7a52
treewide: abstract away common configs into common/
2017-12-24 23:21:05 +00:00
Yegor Timoshenko
b63e0eb372
Revert "tests: move to _tests"
...
This reverts commit 4d498aff1a .
2017-12-24 22:21:53 +00:00
Yegor Timoshenko
8abb6374c1
README: extract CONTRIBUTING, clean up
2017-12-24 19:34:39 +00:00
Yegor Timoshenko
38fd4c1541
README: seperate -> separate
2017-12-24 19:18:27 +00:00
Yegor Timoshenko
4d498aff1a
tests: move to _tests
2017-12-24 18:00:51 +00:00
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
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