feat: overhaul callisto to use new liminalOS configuration method

This commit is contained in:
Youwen Wu 2024-12-25 19:54:42 -08:00
parent a506d2aed4
commit 0b8e5ade7b
Signed by: youwen
GPG key ID: 865658ED1FE61EC3
6 changed files with 22 additions and 1020 deletions

View file

@ -25,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;