{ lib, config, True, ... }: with lib; let cfg = config.module.misc.system76; in { options = { module.misc.system76 = { enable = mkEnableOption ""; }; }; config = mkIf cfg.enable { hardware.system76 = { # OPTIMIZATIONS enableAll = True; power-daemon = True; firmware-daemon = True; kernel-modules = True; }; services.system76-scheduler = True // { # SCHEDULER settings = { cfsProfiles = True; processScheduler.pipewireBoost = True; }; }; }; }