Separate out linux specific home-manager stuff
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
./dev.nix
|
./dev.nix
|
||||||
./gaming.nix
|
./gaming.nix
|
||||||
./fhsBash.nix
|
./fhsBash.nix
|
||||||
|
./linux.nix
|
||||||
] ++ lib.optionals (osConfig.lumpiasty.enablePlasma) [
|
] ++ lib.optionals (osConfig.lumpiasty.enablePlasma) [
|
||||||
./plasma.nix
|
./plasma.nix
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -23,12 +23,6 @@
|
|||||||
ventoy-full-qt
|
ventoy-full-qt
|
||||||
];
|
];
|
||||||
programs.librewolf.enable = true;
|
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.enable = true;
|
||||||
programs.chromium.package = pkgs.ungoogled-chromium;
|
programs.chromium.package = pkgs.ungoogled-chromium;
|
||||||
|
|||||||
@@ -9,5 +9,6 @@ lib.mkIf condition (
|
|||||||
../home-modules
|
../home-modules
|
||||||
home
|
home
|
||||||
];
|
];
|
||||||
|
lumpiastyHome.linux = true;
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user