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,15 +32,21 @@ in {
|
||||||
{ assertion = cfg.gaming.enable -> !generalCfg.minimal; message = "Gaming features are incompatible with minimal mode"; }
|
{ assertion = cfg.gaming.enable -> !generalCfg.minimal; message = "Gaming features are incompatible with minimal mode"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = let
|
||||||
gamescope
|
my_yuzu = cfg.gaming.yuzu.package.overrideAttrs (old: {
|
||||||
mangohud
|
cmakeFlags = old.cmakeFlags ++ [
|
||||||
lutris
|
"-DYUZU_USE_PRECOMPILED_HEADERS=OFF"
|
||||||
bottles
|
];
|
||||||
] ++ optionals cfg.gaming.emulation [
|
});
|
||||||
(optimizePkg { recursive = 0; } cfg.gaming.yuzu.package)
|
in with pkgs; [
|
||||||
(optimizePkg { } cfg.gaming.ryujinx.package)
|
gamescope
|
||||||
];
|
mangohud
|
||||||
|
lutris
|
||||||
|
bottles
|
||||||
|
] ++ optionals cfg.gaming.emulation [
|
||||||
|
(optimizePkg { recursive = 0; } my_yuzu)
|
||||||
|
(optimizePkg { } cfg.gaming.ryujinx.package)
|
||||||
|
];
|
||||||
|
|
||||||
aviallon.windows.wine.enable = mkDefault true;
|
aviallon.windows.wine.enable = mkDefault true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue