mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-20 05:59:51 -07:00
refactor: do not depend on inputs for modules
This commit is contained in:
parent
dbc5fbd875
commit
8424b025f6
11 changed files with 87 additions and 39 deletions
|
@ -103,6 +103,9 @@ in
|
|||
)
|
||||
);
|
||||
|
||||
services.tlp.enable = lib.mkIf (cfg.formFactor == "laptop") true;
|
||||
programs.light.enable = lib.mkIf (cfg.formFactor == "laptop") true;
|
||||
|
||||
environment.variables.EDITOR = lib.mkIf (
|
||||
cfg.defaultEditor != null
|
||||
) cfg.defaultEditor.meta.mainProgram;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue