]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/mpv.nix
losurdo: re-enable xmonad
[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/mpv.conf".text = ''
7 hwdec=auto-safe
8 profile=gpu-hq
9 vo=gpu
10 ytdl-format=18/mp4-480p/hls-480p/http-360p/mp4
11 '';
12 xdg.configFile."mpv/input.conf".text = ''
13 # Volume normalization
14 # See https://github.com/mpv-player/mpv/issues/3979
15 Alt+a cycle-values af "dynaudnorm=f=75:g=25:n=0:p=0.58" "loudnorm" ""
16 Alt+f cycle video-unscaled
17 '';
18 }