Files
nix-config/modules/hardware/scheduler.nix
2025-10-30 21:59:31 +01:00

19 lines
319 B
Nix

{ config, lib, ... }:
with lib;
let
cfg = config.custom.hardware.scheduler;
in
{
options.custom.hardware.scheduler = {
enable = mkEnableOption "Enables scheduler";
};
config = mkIf cfg.enable {
services.system76-scheduler = {
enable = true;
};
hardware.system76.enableAll = true;
};
}