From bfa912f51391d2268a851fde8556d3c0861225d6 Mon Sep 17 00:00:00 2001 From: Drew Haven Date: Thu, 22 May 2025 17:36:12 -0700 Subject: [PATCH] [vega] Attempting to fix some audio popping. --- system/features/audio.nix | 10 ++++++++-- system/hosts/vega/drew.nix | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/system/features/audio.nix b/system/features/audio.nix index d3ee42b..1053b5f 100644 --- a/system/features/audio.nix +++ b/system/features/audio.nix @@ -1,10 +1,16 @@ -{ ... }: { +{ ... }: +{ # RealtimeKit hands out realtime scheduling priority to user processes on # demand, e.g. audio security.rtkit.enable = true; # Enable sound with pipewire. - services.pulseaudio.enable = false; + services.pulseaudio = { + enable = false; + daemon.config = { + exit-idle-time = -1; + }; + }; services.pipewire = { enable = true; alsa.enable = true; diff --git a/system/hosts/vega/drew.nix b/system/hosts/vega/drew.nix index 3e89e7f..aef5566 100644 --- a/system/hosts/vega/drew.nix +++ b/system/hosts/vega/drew.nix @@ -19,6 +19,7 @@ home.packages = with pkgs; [ slack zoom-us + chromium ]; home.stateVersion = "24.11";