mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-20 05:59:51 -07:00
Revert 1 commits
8424b02
'refactor: do not depend on inputs for modules'
This commit is contained in:
parent
8424b025f6
commit
4314399a1c
11 changed files with 39 additions and 87 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue