mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-06 11:43:53 +00:00
25 lines
520 B
Nix
25 lines
520 B
Nix
{ 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;
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|