From 21bfdb7328e5a9029e3f189db3649bd9e5573b98 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Sun, 21 Apr 2024 04:08:57 -0400 Subject: [PATCH] desktop/gaming: add alsa-oss to fix Minecraft audio Starting the OpenAL audio device fails for some reason, using aoss as a wrapper script in Prism Launcher fixes the audio to work properly. --- modules/modules/desktop/gaming.nix | 2 +- todo.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/modules/desktop/gaming.nix b/modules/modules/desktop/gaming.nix index 4eab91e..a36cf83 100644 --- a/modules/modules/desktop/gaming.nix +++ b/modules/modules/desktop/gaming.nix @@ -33,7 +33,7 @@ in config = mkMerge [ { home.home.packages = with pkgs; [ - (mkIf cfg.prismlauncher.enable cfg.prismlauncher.package) + (mkIf cfg.prismlauncher.enable cfg.prismlauncher.package) alsa-oss (mkIf cfg.lutris.enable cfg.lutris.package) (mkIf cfg.olympus.enable cfg.olympus.package) (mkIf cfg.puzzles.enable cfg.puzzles.package) diff --git a/todo.md b/todo.md index 2451b8d..f7a85fb 100644 --- a/todo.md +++ b/todo.md @@ -19,6 +19,7 @@ - [ ] Look into `broot` file search - [ ] File Qtile bug report for clock timezone - [ ] https://github.com/nix-community/nixvim +- [ ] Figure out Minecraft OpenAL startup error (`aoss` as wrapper is a workaround) # Move to Wayland - [ ] https://sr.ht/~emersion/kanshi/