From 67f156c3b26bcee285410a1074f5f7c96d70c1f9 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Tue, 3 Dec 2024 13:30:24 +0100 Subject: [PATCH] common/irqbalance: move to own nix file --- hosts/common/default.nix | 3 +-- hosts/common/services/irqbalance.nix | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 hosts/common/services/irqbalance.nix diff --git a/hosts/common/default.nix b/hosts/common/default.nix index fe06dc4..e1c3258 100644 --- a/hosts/common/default.nix +++ b/hosts/common/default.nix @@ -14,6 +14,7 @@ in { ./programs/wireshark.nix ./services/dbus.nix + ./services/irqbalance.nix ./services/journald.nix ./services/openssh.nix ./services/pcscd.nix @@ -136,8 +137,6 @@ in { enable = !config.machineVars.headless; touchpad.disableWhileTyping = true; }; - - irqbalance.enable = true; }; programs = { diff --git a/hosts/common/services/irqbalance.nix b/hosts/common/services/irqbalance.nix new file mode 100644 index 0000000..078e569 --- /dev/null +++ b/hosts/common/services/irqbalance.nix @@ -0,0 +1,4 @@ +{ ... }: +{ + services.irqbalance.enable = true; +} \ No newline at end of file