mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Gaming] yuzu: disable precompiled-headers (slows down build considerably)
This commit is contained in:
parent
398343a1b3
commit
1d5e9a0100
1 changed files with 15 additions and 9 deletions
|
|
@ -32,13 +32,19 @@ in {
|
|||
{ assertion = cfg.gaming.enable -> !generalCfg.minimal; message = "Gaming features are incompatible with minimal mode"; }
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
environment.systemPackages = let
|
||||
my_yuzu = cfg.gaming.yuzu.package.overrideAttrs (old: {
|
||||
cmakeFlags = old.cmakeFlags ++ [
|
||||
"-DYUZU_USE_PRECOMPILED_HEADERS=OFF"
|
||||
];
|
||||
});
|
||||
in with pkgs; [
|
||||
gamescope
|
||||
mangohud
|
||||
lutris
|
||||
bottles
|
||||
] ++ optionals cfg.gaming.emulation [
|
||||
(optimizePkg { recursive = 0; } cfg.gaming.yuzu.package)
|
||||
(optimizePkg { recursive = 0; } my_yuzu)
|
||||
(optimizePkg { } cfg.gaming.ryujinx.package)
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue