feat: adjust wine settings and fix yabridge

This commit is contained in:
Youwen Wu 2025-03-19 22:19:35 -07:00
parent 8c2a98ffb0
commit 8f87cf30d6
Signed by: youwen
GPG key ID: 865658ED1FE61EC3
2 changed files with 8 additions and 7 deletions

View file

@ -7,6 +7,12 @@
let let
cfg = config.liminalOS.system.audio.prod; cfg = config.liminalOS.system.audio.prod;
forAllUsers = lib.genAttrs cfg.realtimeAudioUsers; forAllUsers = lib.genAttrs cfg.realtimeAudioUsers;
wine = pkgs.wineWowPackages.full;
overrideWine =
package:
(package.override {
inherit wine;
});
in in
{ {
options.liminalOS.system.audio.prod = { options.liminalOS.system.audio.prod = {
@ -31,8 +37,8 @@ in
environment.systemPackages = lib.mkIf cfg.enable ( environment.systemPackages = lib.mkIf cfg.enable (
(with pkgs; [ (with pkgs; [
yabridge (overrideWine yabridge)
yabridgectl (overrideWine yabridgectl)
alsa-scarlett-gui alsa-scarlett-gui
]) ])
++ (lib.optionals config.liminalOS.config.allowUnfree ( ++ (lib.optionals config.liminalOS.config.allowUnfree (

View file

@ -18,10 +18,5 @@ in
wine wine
] ]
); );
nixpkgs.overlays = [
(self: super: {
wine = super.wineWowPackages.stable;
})
];
}; };
} }