Commit graph

10 commits

Author SHA1 Message Date
Jörg Thalheim 03c6d15152 treewide: apply deadnix and statix 2022-12-31 11:57:44 +01:00
Yegor Timoshenko d1d99eb158
treewide: mark things that have to be done 2017-12-25 22:07:47 +00:00
Yegor Timoshenko 5407ba7a52
treewide: abstract away common configs into common/ 2017-12-24 23:21:05 +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 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 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