Separate out linux specific home-manager stuff

This commit is contained in:
2026-09-03 21:41:39 +02:00
parent 99df214e10
commit 930c7b6018
4 changed files with 15 additions and 6 deletions
+13
View File
@@ -0,0 +1,13 @@
{ config, lib, pkgs, osConfig, ... }:
{
options.lumpiastyHome.linux = lib.mkEnableOption "Linux specific things";
config = lib.mkIf config.lumpiastyHome.linux {
services.easyeffects.enable = true;
systemd.user.services.easyeffects.Service = lib.mkIf osConfig.lumpiasty.audioRt.cpuPartitioning {
# Move easyeffects into audio.slice (defined in modules/desktop/audio-rt.nix)
# which has AllowedCPUs=<audioCpus> — pins all DSP work to the reserved cores.
Slice = "audio.slice";
};
};
}