refactor(system): flatten

This commit is contained in:
ooks-io 2024-05-24 23:44:07 +12:00
parent 24dee2cadc
commit f47154c234
29 changed files with 32 additions and 268 deletions

View file

@ -1,20 +0,0 @@
{ lib, config, ... }:
let
inherit (lib) mkIf;
host = config.systemModules.host;
in
{
config = mkIf (host.type != "phone") {
services.system76-scheduler = {
enable = true;
};
# fix suspend issues
powerManagement = {
powerDownCommands = "systemctl stop system76-scheduler";
resumeCommands = "systemctl start system76-scheduler";
};
};
}