Revert 1 commits

8424b02 'refactor: do not depend on inputs for modules'
This commit is contained in:
Youwen Wu 2024-12-25 22:50:35 -08:00
parent 8424b025f6
commit 4314399a1c
Signed by: youwen
GPG key ID: 865658ED1FE61EC3
11 changed files with 39 additions and 87 deletions

View file

@ -1,4 +1,5 @@
{
inputs,
lib,
config,
osConfig,
@ -24,6 +25,8 @@ in
};
config = {
services.tlp.enable = lib.mkIf (cfg.formFactor == "laptop") true;
programs.light.enable = lib.mkIf (cfg.formFactor == "laptop") true;
assertions = [
{
assertion = cfg.formFactor != null;