mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-19 21:49:52 -07:00
feat: adjust wine settings and fix yabridge
This commit is contained in:
parent
8c2a98ffb0
commit
8f87cf30d6
2 changed files with 8 additions and 7 deletions
|
@ -7,6 +7,12 @@
|
|||
let
|
||||
cfg = config.liminalOS.system.audio.prod;
|
||||
forAllUsers = lib.genAttrs cfg.realtimeAudioUsers;
|
||||
wine = pkgs.wineWowPackages.full;
|
||||
overrideWine =
|
||||
package:
|
||||
(package.override {
|
||||
inherit wine;
|
||||
});
|
||||
in
|
||||
{
|
||||
options.liminalOS.system.audio.prod = {
|
||||
|
@ -31,8 +37,8 @@ in
|
|||
|
||||
environment.systemPackages = lib.mkIf cfg.enable (
|
||||
(with pkgs; [
|
||||
yabridge
|
||||
yabridgectl
|
||||
(overrideWine yabridge)
|
||||
(overrideWine yabridgectl)
|
||||
alsa-scarlett-gui
|
||||
])
|
||||
++ (lib.optionals config.liminalOS.config.allowUnfree (
|
||||
|
|
|
@ -18,10 +18,5 @@ in
|
|||
wine
|
||||
]
|
||||
);
|
||||
nixpkgs.overlays = [
|
||||
(self: super: {
|
||||
wine = super.wineWowPackages.stable;
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue