From 89a708456c3246085c4624748e7b31cf36f409f6 Mon Sep 17 00:00:00 2001 From: chn Date: Wed, 21 Jun 2023 20:47:24 +0800 Subject: [PATCH] try to disable sound sleep --- modules/hardware/sound.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/hardware/sound.nix b/modules/hardware/sound.nix index 34844ce5..ab695c17 100644 --- a/modules/hardware/sound.nix +++ b/modules/hardware/sound.nix @@ -2,7 +2,10 @@ { config = { - sound.enable = true; + sound = + { + enable = true; + extraConfig = "session.suspend-timeout-seconds 0"; hardware.pulseaudio.enable = false; security.rtkit.enable = true; services.pipewire =