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
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
inputs,
|
||||
lib,
|
||||
config,
|
||||
osConfig,
|
||||
|
@ -25,8 +24,6 @@ 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