2 { config, lib, pkgs, ... }:
5 cfg = config.services.irqbalance;
9 options.services.irqbalance.enable = lib.mkEnableOption "irqbalance daemon";
11 config = lib.mkIf cfg.enable {
13 environment.systemPackages = [ pkgs.irqbalance ];
15 systemd.services.irqbalance.wantedBy = ["multi-user.target"];
17 systemd.packages = [ pkgs.irqbalance ];