]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/mpv.nix
xmonad: use pactl on @DEFAULT@
[julm/julm-nix.git] / home-manager / profiles / mpv.nix
1 { pkgs, lib, config, ... }:
2 {
3 home.packages = [
4 pkgs.mpv
5 ];
6 xdg.configFile."mpv/input.conf".text = ''
7 # Volume normalization
8 # See https://github.com/mpv-player/mpv/issues/3979
9 Alt+a cycle-values af "dynaudnorm=f=75:g=25:n=0:p=0.58" "loudnorm" ""
10 Alt+f cycle video-unscaled
11 '';
12 xdg.configFile."mpv/mpv.conf".text = ''
13 hwdec=auto-safe
14 profile=gpu-hq
15 vo=gpu
16 ytdl-format=18/mp4-480p/hls-480p/http-360p/mp4
17 '';
18 }