2016-01-03 17:05:18 +00:00
|
|
|
#
|
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
cfg = config.services.irqbalance;
|
|
|
|
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.services.irqbalance.enable = mkEnableOption "irqbalance daemon";
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
|
|
|
|
environment.systemPackages = [ pkgs.irqbalance ];
|
|
|
|
|
2020-02-04 14:19:04 +00:00
|
|
|
systemd.services.irqbalance.wantedBy = ["multi-user.target"];
|
|
|
|
|
2020-02-02 17:09:45 +00:00
|
|
|
systemd.packages = [ pkgs.irqbalance ];
|
|
|
|
|
2016-01-03 17:05:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|