From aad7424764e78a6706c5d41aa605d7216356b31a Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 16 Jun 2023 14:20:11 -0400 Subject: [PATCH] containers(wine): Enable pipewire Seems to fix an issue where audio could randomly stop working when closing applications and opening new ones. --- containers/wine.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/containers/wine.nix b/containers/wine.nix index e5910e2..1d279d7 100644 --- a/containers/wine.nix +++ b/containers/wine.nix @@ -1,3 +1,4 @@ +{ nix-gaming, ... }: let VARIABLES = import ../src/variables.nix; in { containers.wine = { privateNetwork = true; @@ -21,6 +22,10 @@ let VARIABLES = import ../src/variables.nix; in { }; config = { pkgs, ... }: { + imports = [ + nix-gaming.nixosModules.pipewireLowLatency + ../modules/pipewire.nix + ]; programs = { fish.enable = true; neovim.enable = true;