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
|
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 (
|
||||||
|
|
|
@ -18,10 +18,5 @@ in
|
||||||
wine
|
wine
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
nixpkgs.overlays = [
|
|
||||||
(self: super: {
|
|
||||||
wine = super.wineWowPackages.stable;
|
|
||||||
})
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue