vuls: init at 0.27.0
[NixPkgs.git] / nixos / modules / services / hardware / irqbalance.nix
blob42878725cca3ae37b02851abecbe05efad0998ca
2 { config, lib, pkgs, ... }:
3 let
5   cfg = config.services.irqbalance;
7 in
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 ];
19   };