diff --git a/hosts/lt-dell-wyse/configuration.nix b/hosts/lt-dell-wyse/configuration.nix index e59ad48d..6f6ccade 100644 --- a/hosts/lt-dell-wyse/configuration.nix +++ b/hosts/lt-dell-wyse/configuration.nix @@ -28,8 +28,6 @@ TLP_PERSISTENT_DEFAULT = 1; CPU_SCALING_GOVERNOR_ON_AC = "schedutil"; CPU_SCALING_GOVERNOR_ON_BAT = "schedutil"; - SOUND_POWER_SAVE_ON_AC = 0; - SOUND_POWER_SAVE_ON_BAT = 0; }; # Bind mounts diff --git a/nixos/client-components/pipewire/default.nix b/nixos/client-components/pipewire/default.nix index 219f6b45..31000dc1 100644 --- a/nixos/client-components/pipewire/default.nix +++ b/nixos/client-components/pipewire/default.nix @@ -22,6 +22,10 @@ in ./wireplumber-bluez.nix ]; + boot.extraModprobeConfig = '' + options snd_hda_intel power_save=0 power_save_controller=N + ''; + environment.systemPackages = [ pkgs.pavucontrol pkgs.pulseaudio diff --git a/nixos/client-components/tlp.nix b/nixos/client-components/tlp.nix index 811d972e..e10fb491 100644 --- a/nixos/client-components/tlp.nix +++ b/nixos/client-components/tlp.nix @@ -41,6 +41,11 @@ RUNTIME_PM_ON_BAT = "auto"; SCHED_POWERSAVE_ON_AC = 0; SCHED_POWERSAVE_ON_BAT = 1; + + # Sound powersaving causes stutters and popping noise + SOUND_POWER_SAVE_ON_AC = 0; + SOUND_POWER_SAVE_ON_BAT = 0; + TLP_DEFAULT_MODE = "AC"; }; };