Move mpv configuration
All checks were successful
/ check (push) Successful in 1m52s

This commit is contained in:
Oliver Davies 2025-07-27 21:58:27 +01:00
parent cbd1f99bc7
commit cff6bf0167
6 changed files with 10 additions and 30 deletions

View file

@ -1,27 +0,0 @@
{
config,
lib,
pkgs,
...
}:
with lib;
let
cfg = config.features.desktop.media.mpv;
in
{
options.features.desktop.media.mpv.enable = mkEnableOption "Enable mpv";
config = mkIf cfg.enable {
programs.mpv = {
enable = true;
# https://github.com/mpv-player/mpv/blob/master/etc/input.conf
bindings = {
"DOWN" = "add volume -5";
"UP" = "add volume 5";
};
};
};
}