Group modules into feature directories

This commit is contained in:
Oliver Davies 2024-11-26 08:40:00 +00:00
parent 0baed7e6f6
commit 9782272a76
49 changed files with 244 additions and 83 deletions

View file

@ -0,0 +1,17 @@
{ config, lib, ... }:
{
options.features.desktop.media.mpv.enable = lib.mkEnableOption "Enable mpv media player";
config = lib.mkIf config.features.desktop.media.mpv.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";
};
};
};
}