Separate out linux specific home-manager stuff
This commit is contained in:
@@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user