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
+1
View File
@@ -7,6 +7,7 @@
./dev.nix
./gaming.nix
./fhsBash.nix
./linux.nix
] ++ lib.optionals (osConfig.lumpiasty.enablePlasma) [
./plasma.nix
];
+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";
};
};
}
-6
View File
@@ -23,12 +23,6 @@
ventoy-full-qt
];
programs.librewolf.enable = true;
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";
};
programs.chromium.enable = true;
programs.chromium.package = pkgs.ungoogled-chromium;
+1
View File
@@ -9,5 +9,6 @@ lib.mkIf condition (
../home-modules
home
];
lumpiastyHome.linux = true;
}
)