nixos/services.irqbalance: remove with lib;

This commit is contained in:
Felix Buehler 2024-08-27 20:43:18 +02:00
parent 650db2b016
commit d71be6eda5

View File

@ -1,17 +1,14 @@
#
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.irqbalance;
in
{
options.services.irqbalance.enable = mkEnableOption "irqbalance daemon";
options.services.irqbalance.enable = lib.mkEnableOption "irqbalance daemon";
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
environment.systemPackages = [ pkgs.irqbalance ];