framework/*: add fw-ectool for led control, etc

This adds a patched ectool, to interact with the Embedded Controller
Can be used to interact with leds from userspace, etc.
Not part of a nixos release yet, so package only gets added if it exists.
This commit is contained in:
Maciej Krüger 2023-09-19 17:41:41 +02:00 committed by mergify[bot]
parent 08add92f17
commit 61283b30d1
2 changed files with 10 additions and 0 deletions

View File

@ -73,4 +73,9 @@
# Fix font sizes in X
# services.xserver.dpi = 200;
# This adds a patched ectool, to interact with the Embedded Controller
# Can be used to interact with leds from userspace, etc.
# Not part of a nixos release yet, so package only gets added if it exists.
environment.systemPackages = lib.optional (pkgs ? "fw-ectool") pkgs.fw-ectool;
}

View File

@ -45,4 +45,9 @@
# Fix font sizes in X
# services.xserver.dpi = 200;
# This adds a patched ectool, to interact with the Embedded Controller
# Can be used to interact with leds from userspace, etc.
# Not part of a nixos release yet, so package only gets added if it exists.
environment.systemPackages = lib.optional (pkgs ? "fw-ectool") pkgs.fw-ectool;
}