Files
nix-config/home/linux/gui/base/media.nix
T
Ryan Yin 8bb2adc436 feat(home): enable easyeffects for loudness normalization
Fix inconsistent volume across bilibili videos at the PipeWire level:
the easyeffects daemon auto-starts at login; an autogain + limiter
chain can be applied per-app (e.g. only to the browser).

Signed-off-by: Ryan Yin <xiaoyin_c@qq.com>
2026-07-26 11:29:09 +08:00

38 lines
766 B
Nix

{
pkgs,
pkgs-x64,
...
}:
# media - control and enjoy audio/video
{
home.packages = with pkgs; [
# audio control
pavucontrol
playerctl
pulsemixer
imv # simple image viewer
# video/audio tools
libva-utils
vdpauinfo
vulkan-tools
mesa-demos
nvitop
(pkgs-x64.zoom-us)
];
programs.mpv = {
enable = true;
defaultProfiles = [ "gpu-hq" ];
scripts = [ pkgs.mpvScripts.mpris ];
};
services = {
playerctld.enable = true;
# PipeWire audio effects daemon, used for loudness normalization (e.g. bilibili
# videos with inconsistent volume). Configure plugins (autogain + limiter) once
# in the GUI; the daemon then auto-applies the preset at login.
easyeffects.enable = true;
};
}