Commit graph

615 commits

Author SHA1 Message Date
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
Maximilian Bosch d977cf26de
Segregate lenovo/ subdir into thinkpad and ideapad directories
There are several significant differences between ThinkPads and the
other Lenovo models, so this structure must be more precise
2017-09-03 23:34:57 +02:00
Maximilian Bosch ed46b99315
Use libinput as touchpad driver
The recommended driver is libinput, furthermore
the packaging of synaptics is officially deprecated in NixOS:
9d2777a5a5
2017-09-03 23:31:08 +02:00
Maximilian Bosch a2e55b93ad
services.tlp.enable = true; for power management 2017-09-03 23:28:34 +02:00
Maximilian Bosch 7d130c0061
hardware.enableAllFirmware = true; for intel iwlwifi 2017-09-03 23:27:33 +02:00
Maximilian Bosch ae18b6af0f
Initialize general.nix; merge defaults into all ThinkPad configurations 2017-09-03 23:25:33 +02:00
Ruben Maher ecbb9c15c3 rpi2.nix: pkgs.platforms.raspberrypi2 is no longer correct 2017-08-26 13:23:50 -05:00
Stani Pintjuk 744f289978 Add module for ASUS Wireless-AC1300 dongle 2017-08-26 13:23:06 -05:00
Jörg Thalheim 68e007ae77 x250: enable wheel emulation 2017-05-11 09:19:17 -05:00
Jörg Thalheim 3e5b9169ce add recommend xorg driver for lenovo x250 2017-05-11 09:19:17 -05:00
Rok Garbas 31a69c6be1 Merge pull request #20 from akavel/master
add guide for running NixOS as Hyper-V guest
2017-03-27 11:05:51 +02:00
Mateusz Czapliński 54e7857eaf microsoft/hyper-v: add forgotten overcommit_memory 2017-03-24 18:05:08 +01:00
Mateusz Czapliński 6874b73d55 add guide for running NixOS as Hyper-V guest 2017-03-24 17:49:14 +01:00
Rok Garbas d808b992fa Merge pull request #19 from Ericson2314/master
Apple MacBook Pro 10,1 + misc fixes
2016-11-12 19:30:26 +01:00
John Ericson e5cc44520f Apple MacBook Pro 10,1 2016-10-20 14:53:52 -04:00
John Ericson f51cdd0535 Add .gitignore adapted from NixPkgs 2016-10-20 14:28:23 -04:00
John Ericson 57c4f92f2e Merge branch 'master' of github.com:NixOS/nixos-hardware 2016-10-20 14:12:49 -04:00
Данило Глинський (Danylo Hlynskyi) cfd63d3b3e add Lenovo IdeaPad Z510 with suspend fix (#18) 2016-09-21 11:33:54 +02:00
Stephen Whitmore bc241aeec7 Add Lenovo x140e laptop. (#17) 2016-08-05 11:48:33 +02:00
Damien Cassou 5b3c112a91 lenovo/t460s: add middle button config + comments (#14) 2016-08-05 11:47:24 +02:00
Damien Cassou 123b0a9846 lenovo/t460s.nix (#13) 2016-07-09 11:36:19 +02:00
John Ericson a2b20351e0 s/gummiboot/systemd-boot -- fixes warnings on unstable 2016-06-03 16:07:56 -07:00
Emery Hemingway 49fd276328 Merge pull request #12 from dancek/patch-1
Thinkpad X220i: configure more hardware
2016-04-22 11:31:53 +02:00
Hannu Hartikainen 0d7971f57f Thinkpad X220i: configure more hardware
Here's a patch that shows how to add support for

 - TrackPoint
 - (alternatively) better touchpad support
 - volume/mute buttons
 - active hard-drive protection
 - fingerprint reader

I've been using these options for a couple of days on a non-tablet X220i. See https://github.com/dancek/dotfiles/blob/master/nixos/thinkpad-x220i/configuration.nix
2016-04-21 14:38:40 +03:00
Emery Hemingway 5a74a39cab buggy drivers fixed on a1sri-2758f 2016-04-08 16:27:52 +02:00
Emery Hemingway ad24584ecf Merge pull request #10 from Ericson2314/master
Dell XPS 9550: Better to use libinput than synaptics
2016-03-25 13:57:01 +01:00
John Ericson 74c8b025cd Better to use libinput than synaptics 2016-03-23 13:42:14 -07:00
Emery Hemingway 86393d664b Merge pull request #9 from Ericson2314/master
WIP: Dell XPS 15 9550
2016-03-05 22:28:04 +01:00
John Ericson 862456cfd5 Comment out generated configuration for now, best to just regenerate it 2016-03-05 11:32:34 -08:00
John Ericson f6629260e1 Dell XPS 15 9550 2016-03-05 11:04:24 -08:00
Emery Hemingway a667b3aa4f import https://nixos.org/wiki/Airis_N990
Fixes https://github.com/NixOS/nixpkgs/issues/13170
2016-02-26 12:06:00 +01:00
Emery Hemingway afd33028e3 import https://nixos.org/wiki/Acer_C720_Chromebook
Fixes https://github.com/NixOS/nixpkgs/issues/13169
2016-02-26 12:03:28 +01:00
Emery Hemingway 57ac966887 import https://nixos.org/wiki/Acer_4810T
Fixes https://github.com/NixOS/nixpkgs/issues/13168
2016-02-26 11:59:36 +01:00
Emery Hemingway 8de0443010 import https://nixos.org/wiki/ASUS_M60J-JX041V
Fixes https://github.com/NixOS/nixpkgs/issues/13166
2016-02-26 11:52:45 +01:00
Emery Hemingway 088440bd65 Add tips and tricks section to README 2016-02-26 11:46:42 +01:00
Emery Hemingway fe0e5b767e import https://nixos.org/wiki/Microsoft_Surface_Pro_3
Fixes https://github.com/NixOS/nixpkgs/issues/13167
2016-02-26 11:42:57 +01:00
Emery Hemingway d6f9447f9d import https://nixos.org/wiki/Samsung_NP900X3c
Fixes https://github.com/NixOS/nixpkgs/issues/13171
2016-02-26 11:38:21 +01:00
Emery Hemingway caef1f56e9 import https://nixos.org/wiki/Raspberry_Pi_2
Fixes https://github.com/NixOS/nixpkgs/issues/13175
2016-02-26 11:29:48 +01:00
Emery Hemingway 0a3514de56 new kernelAtleast option at lib/kernel-version.nix
Issues a warning when the kernel version is below a threshhold.
2016-02-26 11:12:17 +01:00
Emery 771087ca88 lenovo/x220i-tablet
Fixes https://github.com/NixOS/nixpkgs/issues/13173
Fixes https://github.com/NixOS/nixpkgs/issues/13174
2016-02-24 19:58:56 +01:00